Answers for "redirect to another page in 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
1

php redirect to another page

header("Location: pagetoredirectfor.php");
exit();
Posted by: Guest on June-14-2021
2

header location in php

<?php
/*
	This will redirect  to facebook.com
*/
$url = "https://facebook.com.com";
header("Location: $url");  
exit;
?>
Posted by: Guest on July-17-2020
1

how to redirect to another page in php

<?php header("Location: anotherDirectory/anotherFile.php"); ?>
Posted by: Guest on December-03-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"

Browse Popular Code Answers by Language