View Single Post
Old 08-17-2008, 01:56 PM  
pornguy292
Registered User
 
Join Date: Feb 2008
Posts: 82
Quote:
Originally Posted by k0nr4d View Post
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.

what is that supposed to do? I added it to the page but it's not doing anything
pornguy292 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote