Re: Problem with PHP_SELF
| From: | David Otton | Date: | Mon, 03 Sep 2001 22:21:00 +0000 |
| Subject: | Re: Problem with PHP_SELF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65749@lists.php.net to get a copy of this message | ||
On Mon, 03 Sep 2001 15:11:04 -0700, you wrote:
Following up my own post (in case someone finds this in the archives):
>Is there any situation where such variables would be available to
>phpinfo(), but not the rest of the script?
You can't see $PHP_SELF within a function until you declare it global.
This language really frustrates me sometimes...