Re: ini_set()
| From: | Jason Wong | Date: | Tue, 14 May 2002 05:53:56 +0000 |
| Subject: | Re: ini_set() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97491@lists.php.net to get a copy of this message | ||
On Tuesday 14 May 2002 13:43, Jason Wong wrote:
> > Is there something else I can do so I can have the old scripts work
> > while php is has register_globals off.
>
> As you're running your own server, set it in php.ini
Oops, sorry wrong answer. Correct answer is: you have to manually/explicity
extract all the variables in $HTTP_*_VARS (or the new $_*) into the global
scope. Search archives for details as this was discussed recently (within
last 2 weeks).
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
"The wages of sin are death; but after they're done taking out taxes,
it's just a tired feeling:"
*/