Answers for "redirect() php"

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

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