Re: protecting video files

From: Date: Sat, 12 May 2001 00:05:18 +0000
Subject: Re: protecting video files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52528@lists.php.net to get a copy of this message
> which works fine until I add this at the top > > if($HTTP_REFERER != "Y+;ã„ÏóJóƒ # > Šhttp://www.hardcorehosting.com/video/test.html") > { > exit(); > } > Check to make sure $HTTP_REFERER is being set. Just create another script that has something like: <?php print "Referer: $HTTP_REFERER\n"; ?> Then create a link to this new script from the test.html page that you're trying to show the movie from. Good luck, Sean

« previous php.general (#52528) next »