In some site , ex. PHP-Nuke site When you download a file , you didn't know the File's URL and cannot use the download manager. How can i do that on my site ? I saw some site that require to enter exact Referrer URL in the download manager (The referrer URL will change everyday) before downloading Example File URL : http://www.ex.com/files/ex.rar Referrer : http://www.ex.com/referrer?S1H43B809B How can they do that ? Thanks a lot !
You can make the referrer URL a function of the date and file name. You can also try generating new keys daily and storing them in a db table. Then, pull the file info from the db.
Look through some free filehost scripts. They usually implement some sort of download restriction. Check this out: http://j-fx.ws/ffh Thomas