Answers for "redirect eith php"

PHP
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

php redirect to url

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

Browse Popular Code Answers by Language