Forum Moderators: coopster
So, i am trying to make it safe.
so if i disabled any query string, would that make it safe?
i am using Apache, php, mysql, ive this code in begining of each file.
<?
$parse_url = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
if(strpos($_SERVER['REQUEST_URI'],"?"))
{
header("Location: /");
exit;
}
?>
Would that make it safe and is there anything else that i should check?
Thanks in advance
Thanks for reply, but can you please explain this part:
"make a local copy of the form and modify it and then GET or POST the data that way too"
What can he do after having a stored copy of the form?
Also i detect in all form if it was submited from my domain b4 executing! so would that help too?
About searching for the failure: i am afraid that i fix it, but i find it failing in other place too, i mean i dono what will i break in the site more.. so.......
Thanks in advance