Re: Re: $PHP_SELF
| From: | David Otton | Date: | Mon, 20 Oct 2003 15:01:17 +0000 |
| Subject: | Re: Re: $PHP_SELF | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166759@lists.php.net to get a copy of this message | ||
On Mon, 20 Oct 2003 14:36:33 +0000, you wrote:
>I believe the issue is where exactly is $PHP_SELF being used.
>$PHP_SELF isn't available inside a function, without global'ing
>it but $_SESSION is available all the time.
Then I would expect an E_NOTICE (though the default error reporting level is
lower, so probably not)... in any case, I read "Mostly it works, other times
(about 10% of tries) it's just empty" as implying randomness, not "it
doesn't work at specific points".
I could be wrong of course, which is why I was hoping Jon would expound.