ini_set()
| From: | Gerard Samuel | Date: | Tue, 14 May 2002 05:32:36 +0000 |
| Subject: | ini_set() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-97489@lists.php.net to get a copy of this message | ||
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);
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.
Thanks.