Re: register globals :|
| From: | Kevin Stone | Date: | Wed, 26 Mar 2003 22:59:44 +0000 |
| Subject: | Re: register globals :| | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141134@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Sebastian" <sebastian@dslr.net>
To: "php list" <php-general@lists.php.net>
Sent: Wednesday, March 26, 2003 3:45 PM
Subject: [PHP] register globals :|
> Is there any work-around to get a scipt that requires globals to be ON
work
> when globals is OFF?
>
> Its a small script so it shouldn't be too hard... I just don't know what
to
> look for or what has to be changed so it works again... (since i moved
> servers...)
>
> Thanks for any help.
>
> cheers,
> - Sebastian
>
http://www.php.net/manual/en/security.registerglobals.php
You'll find examples at the bottom of the page of some code that you can add
to the script. Or if you know where the input for the script is coming from
then you can use extract($_POST) or extract($_SERVER), or whatever, at the
top of the script.
HTH,
Kevin