Problem with PHP_SELF
| From: | David Otton | Date: | Mon, 03 Sep 2001 22:11:04 +0000 |
| Subject: | Problem with PHP_SELF | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65746@lists.php.net to get a copy of this message | ||
Hi, small problem :
phpinfo() shows all kinds of useful variables like PHP_SELF,
PATH_INFO, etc etc.... but I can't see them from my script.
I get a error - "Warning: Undefined variable: PATH_INFO in
[scriptname] on line 13"
Is there any situation where such variables would be available to
phpinfo(), but not the rest of the script?
Setup is Win2K, Apache, PHP 4.06
Any thoughts?