----- Original Message -----
From: "Sebastian" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to