Welcome Guest, Not a member yet? Register   Sign In
code for downloading files

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.

You have to use the proper "Headers" to force the download.

Download Helper : http://ellislab.com/codeigniter/user-gui...elper.html

Theme © iAndrew 2016 - Forum software by © MyBB