header("Location: site/main.php"); /* Redirect browser */ /* Make sure that code below does not get executed when we redirect. */ exit; ?>