View Single Post
Old 08-17-2008, 01:32 PM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,231
If you ujst want to block the html page, then you could do
<?php
$array[] = 'http://www.site1.com';
$array[] = 'http://www.site2.com';
if(!in_array($_SERVER[HTTP_REFERER],$array)) { exit(); }
?>

This could of course but done more compactly code-wise but that should get you started.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote