3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the Revised BSD License.
6 This program is distributed in the hope that it will be useful,
7 but WITHOUT ANY WARRANTY; without even the implied warranty of
8 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 Revised BSD License for more details.
11 Copyright 2009-2010 iDB Support - http://idb.berlios.de/
12 Copyright 2009-2010 Game Maker 2k - http://gamemaker2k.org/
13 Kill Register Globals (Register Globals are very lame we dont need them anyways. :P)
15 $FileInfo: index.php - Last Update: 4/27/2009 Ver 2.5 - Author: cooldude2k $
17 $File3Name = basename($_SERVER['SCRIPT_NAME']);
18 if ($File3Name=="killqlobals.php"||$File3Name=="/killqlobals.php") {
21 function unregister_globals() {
26 if(isset($_SESSION)) {
27 $SESSION = $_SESSION; }
31 foreach($GLOBALS as $key => $value) {
33 unset($GLOBALS[$key]); } }
39 $_SESSION = $SESSION; }