Bug #649 Updated: CGI-Detection causes
| From: | Bug Database | Date: | Sat, 19 Sep 1998 21:43:53 +0000 |
| Subject: | Bug #649 Updated: CGI-Detection causes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1290@lists.php.net to get a copy of this message | ||
ID: 649
Updated by: rasmus
Reported By: panther@prz.tu-berlin.de
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
This is because PHP knows it is being run in a web environment because it sees all the normal CGI
variables. You can get it to work by setting $QUERY_STRING, $SCRIPT_FILENAME and whatever other
environment variables you need. Or alternatively, unset these variables and pass them in.
Full Bug description available at: http://ca.php.net/bugs.php3?id=649
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net