Page 1 of 1

Providing file download

Posted: Thu Aug 16, 2007 4:56 pm
by klarinetking
Hi all.

I'm trying to design a download system. Right now I'm having trouble actually presenting the user with the file.

I'm using a GET request to determine which file I need to serve. I pull all the required info (name) and the download path. Where I'm stuck is how to actually serve the user with that file.

If anyone could help, that would be appreciated.

Thanks,

klarinetking :)

Posted: Thu Aug 16, 2007 5:06 pm
by RhapX
Can you please post the script you have made? It would make it much easier to help you.

Posted: Thu Aug 16, 2007 5:21 pm
by feyd
There's an example of downloading a file on the header() page.