Answers for "how to use header() to redirect in php"

PHP
7

php header location

<?php
// This will just redirect you to example.com
header("Location: https://example.com");  
?>
Posted by: Guest on April-13-2020
3

php redirect

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

Code answers related to "how to use header() to redirect in php"

Browse Popular Code Answers by Language