mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 18:44:21 +00:00
Trying to fix this monstrosity #1
This commit is contained in:
@@ -13,14 +13,14 @@
|
||||
//heef npc uitzondering omdat die met speciaal $_post werken
|
||||
if(isset($_POST)){
|
||||
if(!isset($_POST['ft'])){
|
||||
$_POST = @array_map('mysql_real_escape_string', $_POST);
|
||||
//$_POST = @array_map('mysqli_real_escape_string', $_POST);
|
||||
$_POST = array_map('htmlspecialchars', $_POST);
|
||||
}
|
||||
}
|
||||
$rsargs=$_GET['rsargs'];
|
||||
$_GET = array_map('mysql_real_escape_string', $_GET);
|
||||
//$_GET = array_map('mysqli_real_escape_string', $_GET);
|
||||
$_GET = array_map('htmlspecialchars', $_GET);
|
||||
$_GET['rsargs']=$rsargs;
|
||||
$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);
|
||||
//$_COOKIE = array_map('mysqli_real_escape_string', $_COOKIE);
|
||||
$_COOKIE = array_map('htmlspecialchars', $_COOKIE);
|
||||
?>
|
||||
Reference in New Issue
Block a user