I am learning the source code of PHPBB. In the common.php, there are some code like
if ($varname !== 'GLOBALS' || isset($_GET['GLOBALS']) || isset($_POST['GLOBALS']) || isset($_SERVER['GLOBALS']) || isset($_SESSION['GLOBALS']) || isset($_ENV['GLOBALS']) || isset($_FILES['GLOBALS']))
{
exit;
}
I know the $GLOBALS, but I don't know $varname !== 'GLOBALS' and $_GET['GLOBALS'],
Can anybody tell me the mean of these codes?
Thanks
if ($varname !== 'GLOBALS' || isset($_GET['GLOBALS']) || isset($_POST['GLOBALS']) || isset($_SERVER['GLOBALS']) || isset($_SESSION['GLOBALS']) || isset($_ENV['GLOBALS']) || isset($_FILES['GLOBALS']))
{
exit;
}
I know the $GLOBALS, but I don't know $varname !== 'GLOBALS' and $_GET['GLOBALS'],
Can anybody tell me the mean of these codes?
Thanks