Answers for "header( location view.php ) in this condition use a website link"

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
2

header location in php

/*
This will just redirect you to example.com
*/

<?php
$url = "https://example.com";
header("Location: $url");  
exit;
?>

/* I hope it will help you. Namaste */
Posted by: Guest on May-07-2020

Browse Popular Code Answers by Language