Re: Upgraded to PHP 4.2.2 and completely lost all GET and POST variables
| From: | Deepak Kumar Vasudevan | Date: | Sat, 17 Aug 2002 14:37:26 +0000 |
| Subject: | Re: Upgraded to PHP 4.2.2 and completely lost all GET and POST variables | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-windows+get-15326@lists.php.net to get a copy of this message | ||
PHP 4.1.2 (+) has register_globals turned off by default.
Do either of the below to turn it on:
1.. Turn register_globals on in PHP.INI
2.. Use ini_set in one or more of the most commonly used files of the application to have
register_globals turned on for that application. (I think a variant of PHP directive in Apache also
achieves this effect. But not sure though).
deepak@cssolutionsinc.com
"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
>