note 106024 deleted from function.defined by danbrown
| From: | danbrown@php.net | Date: | Tue, 04 Oct 2011 13:25:53 +0000 |
| Subject: | note 106024 deleted from function.defined by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-183626@lists.php.net to get a copy of this message | ||
Note Submitter: Ormus
----
after a while...
into index.php
<?php
define('allowAccess', 1);
include_once "some.php";
?>
into some.php
<?php
if (!(allowAccess)){
header("HTTP/1.0 404 Not Found");
exit;
}
?>