Re: ini_set()
| From: | Jason Wong | Date: | Tue, 14 May 2002 05:43:00 +0000 |
| Subject: | Re: ini_set() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97490@lists.php.net to get a copy of this message | ||
On Tuesday 14 May 2002 13:32, Gerard Samuel wrote:
> Im running php 4.1.2 on a test box, and Im doing some recoding on an
> application Im writing.
> The new version, I intend be be compliant with php new $_* global arrays.
> But I dont want to waste time redoing the old version, so I tried setting
> ini_set('register_globals', 1);
Well if you read the manual you would know that register_globals cannot be set
at run-time.
> at the top of the main config file that all the scripts access (so that
> I can have it around).
> But the scripts are broke even with the ini_set call.
> 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
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I came, I saw, I deleted all your files.
*/