Re: [PHP] security of stand alone script

2002-11-24 Thread DL Neil
Hi gamin, >Running Red Hat 7.2, PHP 4.0.6. Is there any way of knowing if a certain > PHP script was run from the command line, shell script or through the > webserver (Apache). May be i could check the user calling the script and > find out but how would i do that ? There is a difference in

[PHP] security of stand alone script

2002-11-24 Thread gamin
Hi, Running Red Hat 7.2, PHP 4.0.6. Is there any way of knowing if a certain PHP script was run from the command line, shell script or through the webserver (Apache). May be i could check the user calling the script and find out but how would i do that ? thx in advance gamin -- PHP Gener