View Single Post
Old 02-06-2007, 10:28 PM  
Myst
Confirmed User
 
Join Date: Feb 2004
Location: Alberta, Canada
Posts: 4,707
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:.... ))
__________________
ICQ: 298-523-037
Myst is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote