Differentiate running from command line cf through web browser/server
| From: | DL Neil | Date: | Tue, 09 Oct 2001 18:37:50 +0000 |
| Subject: | Differentiate running from command line cf through web browser/server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70527@lists.php.net to get a copy of this message | ||
Is someone able to offer advice/technique that enables a script to detect if it has been initiated
from the command line or if it is running in a web browser/server?
Please advise,
=dn
PS my dev env is NTWusS 4.0, PHP4, MySQL, and Apache