code for downloading files |
[eluser]Unknown[/eluser]
hi everyone.i just put some links on my web page i am designing which is expected to allow users download files found on my server.To do this i simply put a link to the folder containing the file that can be downloaded.In testing it i discover that only zip files could be downloaded on Mozilla Firefox but not other file formats like PDF.Other browsers did not even download the zip files. You help will be very useful to me.Thanks.
[eluser]zreedeecom[/eluser]
You have to use the proper "Headers" to force the download.
[eluser]mi6crazyheart[/eluser]
Download Helper : http://ellislab.com/codeigniter/user-gui...elper.html |
Welcome Guest, Not a member yet? Register Sign In |