try using $GLOBALS[PHP_SELF]
no matter where you are at (ie out of a function, in a function, in an
array(), etc... ), you will get the correct value
Jim
- Original Message -
From: John Steele [EMAIL PROTECTED]
To: PHP General List [EMAIL PROTECTED]
Sent: Thursday, November 15, 2001
Hi Mike and Jim,
From my earlier message [Re: PHP 4.0.6 $PHP_SELF empty?]:
No, I updated my php.ini manually (just to change the zend optimizer and
add the DBG debugger. These two lines from php.ini haven't changed for sure:
variables_order = EGPCS;
register_globals = On;
According to
, 2001 6:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] What version did $PHP_SELF still work?
Hi Mike and Jim,
From my earlier message [Re: PHP 4.0.6 $PHP_SELF empty?]:
No, I updated my php.ini manually (just to change the zend
optimizer and
add the DBG debugger. These two lines
Hrm. Well if you want quick fix:
$PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];
Mike
John Steele wrote:
Hi Mike and Jim,
From my earlier message [Re: PHP 4.0.6 $PHP_SELF empty?]:
No, I updated my php.ini manually (just to change the zend optimizer and
add the DBG debugger. These two lines
4 matches
Mail list logo