simulation
Posted: Tue Sep 13, 2005 11:04 pm
Currently my paid hosting server has PHP set to register_globals = ON
Since this is how I learned PHP, its OK at the moment. For a while now I've been going through and changing everything from $var to $_POST['var']; etc. And I finally think I am done.
Is there any way I can simulate register_globals being OFF?
Would ini_set() work? I don't think it works during run time. Should I have my own php.ini file since I am on a shared server? Lots of questions...
Since this is how I learned PHP, its OK at the moment. For a while now I've been going through and changing everything from $var to $_POST['var']; etc. And I finally think I am done.
Is there any way I can simulate register_globals being OFF?
Would ini_set() work? I don't think it works during run time. Should I have my own php.ini file since I am on a shared server? Lots of questions...