% $remote_host = $_SERVER[HTTP_REFERER]; $local_host = $_SERVER[HTTP_HOST]; $remote_host = str_replace("www.", "", $remote_host); $remote_host = str_replace("http://","", $remote_host); $remote_host = str_replace("/","",$remote_host); $remote_host = strtolower(trim($remote_host)); $local_host = str_replace("www.","",$local_host); $local_host = str_replace("/","",$local_host); $local_host = strtolower(trim($local_host)); if (strstr($remote_host, "hefty.com") === FALSE && strstr($remote_host, "shoplogical.com" === FALSE)) { %>
<% //print "$remote_host\t$local_host"; exit; } %>|
Go ahead and read the "The Train With No Name" Create-A-Book book. |
|
|