- header: documentation ( source)
<?php
function checkText($email, $passwd, $loc, $errorMess){
if ($email == ""){
$host = $_SERVER['HTTP_HOST'];
$location = ("?emailL=$email&errorBoxSignIn=$errorMess");
header("Location: http://$host/$location");
die();
};
};
?>