Answers for "location: index.php"

PHP
3

php redirect

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

php header

<html>
<?php
/* This will give an error. Note the output
 * above, which is before the header() call */
header('Location: http://www.example.com/');
exit;
?>
Posted by: Guest on April-16-2020

Browse Popular Code Answers by Language