[PHP] $PHP_SELF

2003-10-20 Thread Boris Sagadin
I'm having problems with $PHP_SELF variable. Mostly it works, other times (about 10% of tries) it's just empty. Is this a known issue with Apache 2? If I use $_SERVER['PHP_SELF'], it always works fine, but still I'd like to know if this is a common bug or there's something wrong with my

[PHP] Re: $PHP_SELF

2003-10-20 Thread Boris Sagadin
Curt, Monday, October 20, 2003, 4:36:33 PM, 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. Yes, but the problem in my case is that it works most of, but not