This question already has an answer here:
- PHP page redirect [duplicate] 15 answers
I try this to redirect page using PHP:
if($var="error")
echo '<script>location.href="404.php"</script>';
Works, but, is possible redirect the page directly from PHP?
</div>