redirect to another file php code example Example: php go to another page <?php header("Location: anotherDirectory/anotherFile.php"); ?>