Forum Moderators: coopster

Message Too Old, No Replies

Download file without knowing URL/Using Download Manager?

How can i do that with my site?

         

bnix

10:43 am on Jul 30, 2006 (gmt 0)

10+ Year Member



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
In the DL manager program

File URL : [examples.com...]
Referrer : [examples.com...]

How can they do that?

Thanks a lot!

dldeskins

2:56 pm on Aug 2, 2006 (gmt 0)

10+ Year Member



Please see: [us2.php.net...]

What you basically have to do is to read the file and spit out the contents to the client. You have to supply header information or the download will not display correctly or you may get an error altogether.

This is mostly used to hide files in a directory outside of the web root.