Vous souhaitez partager une portion de code sur votre blog ? [code lang= »PHP »]function unregister_GLOBALS() { if ( !ini_get(‘register_globals’) ) return; if ( isset($_REQUEST[‘GLOBALS’]) ) die(‘GLOBALS overwrite attempt detected’); // Variables that shouldn’t be unset $noUnset = array(‘GLOBALS’, ‘_GET’, ‘_POST’, ‘_COOKIE’, … Lire la Suite
31 mai 2006
par Amaury
5 Commentaires