php how to make sure user doesn't submit code example
Example: php how to make sure user doesn't submit
if(!headers_sent())
{
unset($_POST);
exit(header('Location:'.$_SERVER['REQUEST_URI']));
}
if(!headers_sent())
{
unset($_POST);
exit(header('Location:'.$_SERVER['REQUEST_URI']));
}