Quote:
Originally Posted by phpforfun
how do I define the php.ini file?
|
Make a file called php.ini and add the php directive Jordan described earlier. You should note, that registered globals will be removed in PHP 6. So, sooner or later you will have to switch to the superglobal array format - why not now?
Quote:
Originally Posted by Surgeon
Why not just use: ini_set() at the top of your script(s)?
PHP: ini_set - Manual
Theres other functions there that may also help with your configuration problems.
|
Setting registered globals at run time will be of little use since, by the time the script runs, the globals have already been set.