PHP header location-redirect doesn't work - why?
- by Industrial
Hi guys,
Here's my file. It doesn't throw an error or redirects to index.php. What is wrong?
I have turned output buffering on/off, but nothing makes it redirect. What can I do?
<?
error_reporting(E_ALL);
echo 'This is an error';
header("Location: login.php");
die();
?>
Thanks