$_SERVER['PHP_SELF'] when globals are off.
>How about this:
>
>
>
>- Vic
>
>
>-Original Message-
>From: Manuel Ochoa [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 15, 2002 7:20 PM
>To: PHP General
>Subject: [PHP] Undefined variable: PHP_SELF
>
>
>I keep getting "Undefined variable:
How about this:
- Vic
-Original Message-
From: Manuel Ochoa [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 7:20 PM
To: PHP General
Subject: [PHP] Undefined variable: PHP_SELF
I keep getting "Undefined variable: PHP_SELF" when using the following:
Global variables are
Try $_SERVER['PHP_SELF'] instead of $PHP_SELF
At 04:19 PM 8/15/2002 -0700, you wrote:
>I keep getting "Undefined variable: PHP_SELF" when using the following:
>
>
>
>Global variables are off... What am I doing wrong?
Jadiel Flores
-
http://www.abargon.com
[EMAIL PROTECTE
> I keep getting "Undefined variable: PHP_SELF" when using the
> following:
>
>
>
> Global variables are off... What am I doing wrong?
In current versions of PHP, $PHP_SELF is available if globals are on.
You'll need $_SERVER['PHP_SELF'] instead if you're keeping globals off.
CYA, Dav
4 matches
Mail list logo