I keep getting Undefined variable: PHP_SELF when using the following:
form method=post action='$PHP_SELF'
Global variables are off... What am I doing wrong?
I keep getting Undefined variable: PHP_SELF when using the
following:
form method=post action='$PHP_SELF'
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
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:
form method=post action='$PHP_SELF'
Global variables are off... What am I doing wrong?
Jadiel Flores
-
How about this:
form method=post action='?php echo $PHP_SELF; ?'
- 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
$_SERVER['PHP_SELF'] when globals are off.
How about this:
form method=post action='?php echo $PHP_SELF; ?'
- 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
5 matches
Mail list logo