Re: Upgraded to PHP 4.2.2 and completely lost all GET and POST variables

From: Date: Sat, 17 Aug 2002 00:13:48 +0000
Subject: Re: Upgraded to PHP 4.2.2 and completely lost all GET and POST variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-113029@lists.php.net to get a copy of this message
http://www.php.net/ChangeLog-4.php As of version 4.2 register_globals defaults to off. You can turn it on in your php.ini file, but it is recommended to use the new super global arrays instead. Justin "James Daily" <jdaily@kc.rr.com> wrote in message news:NDBBIADKLJIPFGPECIJPIEJACNAA.jdaily@kc.rr.com... > > RE: phpsecurityadmin-2002-07-24.zip and PHP 4.2.2 > > PLATFORM: win 98 > > BACKGROUND: in order to use the above classes i had to > upgrade to PHP 4.2.2 > > PROBLEM: when i upgraded to 4.2.2, all my old scripts > lost the GET or POST info being passed. > > COMMENTS: everything except the phpsecurityadmin classes > worked as expected under PHP 4.0. > > after upgrade, phpsecurityadmin classes work but any old > scripts that are accepting data from previous page via > GET or POST do not. > > i can manually parse the GET query string, but this is foolish > and time consuming. > > it's as if the automatic variables are not getting assigned > the data being passed. > > QUESTION: has anybody else run across this and > what was the resolution? > > --------------------------------------------- > James Daily > Phone : 816 943 9891 > Email : wndrer@earthling.net (or hit reply button) > Web : http://tellmama.com/ > Philosophy: > 4 2 1000 > ( cos(ø - r) - sin ø ) * ( r - 2r cos(2ø + 2.4) + 0.9) + 0.62r) < 0 > > Education is a progressive discovery of our own ignorance. > Will Durant >

« previous php.general (#113029) next »