[PHP] Undefined variable: PHP_SELF

2002-08-15 Thread Manuel Ochoa
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?

RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread David Freeman
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

Re: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread Jadiel Flores
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 -

RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread vic
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

RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread Bob Lockie
$_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