ID: 15196 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Variables related Operating System: Linux 2.4 PHP Version: 4.1.1 New Comment:
They are not gone, they have new aliases which are shown in the phpinfo() output. Please read: It's also advisable that your swich overe to this new mechanism, as it can make your scripts more secure (in combination with turning off register_globals). Derick Previous Comments: ------------------------------------------------------------------------ [2002-01-24 01:22:16] [EMAIL PROTECTED] 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 this 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]