Not Solved [Security] class_core Hacking Attempt
#1
Not Solved
What this protection do inserted in the __construct of the class_core?

$protected = array("_GET", "_POST", "_SERVER", "_COOKIE", "_FILES", "_ENV", "GLOBALS");
		foreach($protected as $var)
		{
			if(isset($_POST[$var]) || isset($_GET[$var]) || isset($_COOKIE[$var]) || isset($_FILES[$var]))
			{
				die("Hacking attempt");
			}
		}

What types of attacks prevents?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)