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
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
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
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
* 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
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
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
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
8 matches
Mail list logo