note 26918 deleted from function.require by sniper
| From: | sniper@php.net | Date: | Sat, 18 Jan 2003 15:33:21 +0000 |
| Subject: | note 26918 deleted from function.require by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42359@lists.php.net to get a copy of this message | ||
dunno if its usefull but:
<?
$myurl = "http://localhost/feeling.good/";
$content = "mysite.html";
$currenturl = getenv("HTTP_REFERER");
if ($currenturl != "$myurl"){
header("Location: $myurl");
}
else if($currenturl == "$myurl"){
include("$content");
}
?>