PHP REGISTER_GLOBALS turned off? Hack It Back

REGISTER_GLOBALS is a PHP directive that, when enabled, automatically initialises variables with the values from forms, sessions, GET etc. For example, the data in a login form with the input fields named “username” and “password” will automatically be available as $username and $password. REGISTER_GLOBALS is, in my opinion, very bad practice and should be avoided…