PDA

View Full Version : How do I turn on Register Globals?


SharkSpace_M
09-04-2006, 12:33 AM
Add:

php_flag register_globals on


in your .htaccess file, which can be found in your public_html folder.



If you are on a server that is running phpsuexec (you will get a 500 error if you do the above steps) you need to do the following:

Create a php.ini file in the directory where you need register_globals turned on then add:

register_globals=on



to the php.ini file and you are all set.