Change your scripts.  It's relatively easy to cause variables in the
superglobal arrays to be set in the global namespace.  Code samples for
this appear in various places in the the user contributed notes in the
PHP documentation.

A quick and dirty working example:

foreach (array_merge($_POST,$_GET) as $key=>$val) {
        global $$key;

If you include the above at the top of all your existing scripts, they
should continue to function.

As always, caveat emptor...


> -----Original Message-----
> From: 
> [mailto:[EMAIL PROTECTED].
> net] On Behalf Of Leif K-Brooks
> Sent: Monday, April 22, 2002 5:11 PM
> Subject: [PHP] The so-called improvment in PHP 4.2.0
> I use $formvar for form processing, I don't use the arrays.  
> This is how I was taught to do it.  If my host upgrades to 
> 4.2.0, my website is as good as gone!  What am I supposed to do?!
> -- 
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to