security of stand alone script

From: Date: Sun, 24 Nov 2002 17:37:40 +0000
Subject: security of stand alone script
Groups: php.general 
Request: Send a blank email to php-general+get-125813@lists.php.net to get a copy of this message
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

« previous php.general (#125813) next »