Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Script running online?

by sutch (Curate)
on Mar 26, 2001 at 20:32 UTC ( #67226=note: print w/ replies, xml ) Need Help??


in reply to Script running online?

PotPieMan's solution is close to what I came up with. I tried:

print getpwuid($<);
Run from the command line it printed:

sutch

which is my username. Run within a CGI script it printed:

apache

which is the user that HTTPD runs under on my machine.


Comment on Re: Script running online?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://67226]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2015-07-30 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls