View Single Post
Old 02-27-2006, 05:17 AM  
Mike Seth
Registered User
 
Join Date: Feb 2006
Location: TEH PIT
Posts: 88
You can do this with a little bit of PHP scripting. Basically, you need to look up the HTTP_REFERER header sent by the client (in PHP it would be typically found in $_SERVER['HTTP_REFERER'] variable). You then normalize the URL and check it against your own domain. If the traffic is coming from outside, you do a redirect. Otherwise you let it in and serve the content
__________________
Mike Seth - 274-570-412 <mikeseth at gmail.com>
Mike Seth is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote