Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Script running online?

by sutch (Curate)
on Mar 26, 2001 at 20:32 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found