RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread Bob Lockie


$_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: PHP_SELF" when using the following:
>
>
>
>Global variables are off... What am I doing wrong?
>
>__ 
>Post your ad for free now! http://personals.yahoo.ca
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread vic

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 off... What am I doing wrong?

__ 
Post your ad for free now! http://personals.yahoo.ca

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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:
>
>
>
>Global variables are off... What am I doing wrong?

Jadiel Flores
-
http://www.abargon.com
[EMAIL PROTECTED]
(52-55) 52-29-80-34



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread David Freeman


 > 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, Dave




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php