<!--
script:
<?php
$ADMIN[defaulturl] = "http://meinhost.de";
$okaysites = array("http://meinhost.de","http://meinhost.de");
$ADMIN[url_1] = "http://meinhost/downloads/tools/";
$ADMIN[url_2] = "http://meinhost";
$ADMIN[url_3] = "http://meinhost/new";
$reffer = $HTTP_REFERER;
if($reffer) {
$yes = 0;
while(list($domain, $subarray) = each($okaysites)) {
if (ereg("$reffer",$subarray)) {
$yes = 1;
}
}
$theu = "url"."_"."$site";
if ($ADMIN[$theu] AND $yes == 1) {
header("Location: $ADMIN[$theu]/$file");
} else {
header("Location: $ADMIN[defaulturl]");
}
} else {
header("Location: $ADMIN[defaulturl]");
}
?>
-->