http://qs321.pair.com?node_id=67116


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