Detecting invocation from command-line

From: Date: Tue, 13 Jun 2000 03:40:04 +0000
Subject: Detecting invocation from command-line
Groups: php.dev 
Request: Send a blank email to php-dev+get-21168@lists.php.net to get a copy of this message
Is there a way in the API to know whether PHP is being run from the command line as opposed to as a module or cgi-binary under a web server? -Andrei

« previous php.dev (#21168) next »