View Single Post
  #16 (permalink)  
Old 04-20-2008, 03:06 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,569
Last Blog:
Tidy up your HTML
Credits: 0
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
Send a message via AIM to John Send a message via MSN to John
Default Re: Register Globals

Quote:
Originally Posted by phpforfun View Post
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 View Post
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.
Reply With Quote