Answers for "php redirect to html page"

PHP
29

php redirect

//PHP redirect
header("Location: https://www.codegrepper.com/my-redirect-page.php");
die();
Posted by: Guest on August-06-2019
3

php redirect

header("Location: http://example.com");
die();
Posted by: Guest on October-03-2020
1

php redirect to another page

header("Location: pagetoredirectfor.php");
exit();
Posted by: Guest on June-14-2021
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

Browse Popular Code Answers by Language