note 40423 deleted from function.headers-sent by nlopess
| From: | nlopess@php.net | Date: | Wed, 03 Mar 2004 17:40:49 +0000 |
| Subject: | note 40423 deleted from function.headers-sent by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66188@lists.php.net to get a copy of this message | ||
Note Submitter: Gemberkoekman
----
I made this simple piece of code:
Its usefull for includes in tables, so the people cant open the pages directly:
<?php
if (headers_sent() == false){?>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=home.php">
</head>
<?php die;
}?>