Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Script running online?

by PotPieMan (Hermit)
on Mar 26, 2001 at 10:14 UTC ( [id://67116]=note: print w/replies, xml ) Need Help??


in reply to Script running online?

It may not be absolute, but I guess you could check $ENV{'USER'}. I do most of my development and testing as one user, whereas I run my scripts as my Apache user. Maybe?

Update: Sorry, this won't work. I should have checked before posting, but $ENV{'USER'} is not set by the Web server for security reasons. So, chromatic's response is probably the way to go. Sorry for the confusion.

--PotPieMan

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found