Quote:
Originally Posted by Myst
theres an easier way to do it..
make a .htaccess file and redirect all requests to video files to a php script (sending of course the name of the file requested)
in the php file check to see if the person is 'allowed' to download the file (cookie, referer, ip, whatever) and use readfile() to let the user download the file if its ok; otherwise u can send em to another file, or a website (header(Location:.... ))
|
thats basically what this does , ceptin your method wouldnt really allow affiliates to hotlink your videos..
I invented this method for sponsors so anyone displaying a banner for the appropriate site can display or even embed the videos..