Answers for "redirect to another page in php without header"

PHP
1

php redirect to url

header("Location: http://example.com/myOtherPage.php");
die();
Posted by: Guest on July-27-2020
1

php redirect to page

header("Location: /");
exit();
Posted by: Guest on May-16-2020
3

How do I make a redirect in PHP?

header("Location: http://example.com/redirect_page.php");
die(); //Force the script to quit, or you would raise an error...
Posted by: Guest on May-18-2020

Code answers related to "redirect to another page in php without header"

Browse Popular Code Answers by Language