Re: [PHP] Re: $PHP_SELF

2003-10-20 Thread David Otton
On Mon, 20 Oct 2003 10:40:23 -0400, you wrote: >No, you seem to be misunderstanding the point. > > >http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server Ok, there's nigh-on 30k of text on that page. I have /no/ idea what you're referring to. However, I did find this: "If

Re: [PHP] Re: $PHP_SELF

2003-10-20 Thread CPT John W. Holmes
From: "Boris Sagadin" <[EMAIL PROTECTED]> > > 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 all

Re: [PHP] Re: $PHP_SELF

2003-10-20 Thread David Otton
On Mon, 20 Oct 2003 14:36:33 +, 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

Re: [PHP] Re: $PHP_SELF

2003-10-20 Thread Jon Kriek
No, you seem to be misunderstanding the point. http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server "David Otton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 20 Oct 2003 09:11:37 -0400, you wrote: > > >"Boris Sagadin" <[EMAIL PROTECTED]> wrote i

Re: [PHP] Re: $PHP_SELF

2003-10-20 Thread Curt Zirzow
* Thus wrote David Otton ([EMAIL PROTECTED]): > On Mon, 20 Oct 2003 09:11:37 -0400, you wrote: > > >"Boris Sagadin" <[EMAIL PROTECTED]> wrote in message > >news:[EMAIL PROTECTED] > > >> I'm having problems with $PHP_SELF variable. Mostly it works, other > >> times (about 10% of tries) it's just e

Re: [PHP] Re: $PHP_SELF

2003-10-20 Thread David Otton
On Mon, 20 Oct 2003 09:11:37 -0400, you wrote: >"Boris Sagadin" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> 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 $_SE

RE: [PHP] Re: $PHP_SELF question

2002-04-18 Thread Stampe, Lars
Try and create a new php file with the following code and read the result: thats it, a lot of useful info there! Regards Lars -Original Message- From: Joel Colombo [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 16:03 To: [EMAIL PROTECTED] Subject: [PHP] Re: $PHP_SELF question did u

Re: [PHP] RE: $PHP_SELF in Netscape PART 2

2001-02-14 Thread John Vanderbeck
Ok, I feel like the big idiot now. I fixed the problem. It was because of the whole global bit. The ones that were not working were inside a function, the ones that were working were outside the function. I guess I ASSUMED (yeah we know what happens when you do that) that things like $PHP_SELF