Answers for "do i need to use a header at the end of a php script"

PHP
5

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
1

php header

header('Location: http://www.example.com/');
Posted by: Guest on May-17-2020

Code answers related to "do i need to use a header at the end of a php script"

Browse Popular Code Answers by Language