• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
code for downloading files

#1
[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.

#2
[eluser]zreedeecom[/eluser]
You have to use the proper "Headers" to force the download.

#3
[eluser]mi6crazyheart[/eluser]
Download Helper : http://ellislab.com/codeigniter/user-gui...elper.html


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.