View Full Version : PHP setting register_globals
complete
08-18-2007, 12:10 PM
What is the PHP setting register_globals? And how do I enable or disable them?
felgall
08-19-2007, 01:31 AM
You shouldn't change that setting from the default unless you are running PHP 4.1 or earlier as all the more recent versions have it set correctly.
If your script doesn't work on a more recent PHP version then it means that you are trying to access variables directly that should be accessed via the $_POST[] or $_GET[] arrays.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.