From:             [EMAIL PROTECTED]
Operating system: Linux 2.4
PHP version:      4.1.1
PHP Bug Type:     Variables related
Bug description:  PHP_*_VARS have disappeared, even though track_vars is on

I fetched the latest Apache and PHP earlier this week and built everything
from scratch, to find that an auth routine I'd written a long time ago was
suddenly acting as though it wasn't seeing HTTP_POST_VARS. I stuck in a
phpinfo() line to see what the deal was, and sure enough, no HTTP_*_VARS!

For simplicity, I created a file called test.php, which contains just one
statement - phpinfo();.

If I call this file as 'test.php?blah=asdf', I can look high and low, and
I will not find HTTP_GET_VARS, HTTP_POST_VARS, etc. I do see _GET, etc.,
but... I don't want to do a full source review of PHPBB and other stuff.
:(

Here're the configure options according to phpinfo()...

'./configure' '--sysconfdir=/etc/php' '--with-apache=../apache_1.3.22' '--
with-config-file-path=/etc/php' '--with-zlib' '--enable-bcmath'
'--with-jpeg- dir=/usr' '--with-gd=/usr' '--enable-gd-native-ttf'
'--with-png-dir=/usr' '-- with-mysql' '--enable-track-vars'

Then in /etc/php/php.ini, just to be safe, I have this...
; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
track_vars = On

Then there's the variables order...
variables_order = "GPCES"

I also tried setting the order to EGPCS, but I don't think this really
matters.

I apologize if there is something foolish I've overlooked, but php.ini
doesn't appear to contain any way for me to turn off $HTTP_*_VARS, other
than maybe saying track_vars = Off.

P.S. I have tried this with register_globals on and off.

-- 
Edit bug report at: http://bugs.php.net/?id=15196&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to