visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
316 experts, 1194 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: PHP :: File Download


By: maratmu U.S.A.  Date: 07/10/2003 00:00:00  English  Points: 50 Status: Answered
Quality : Excellent
Earlier i was given the solution from an expert over here to prompt user for Download window for a file by using

Headers in PHP

I was able to get it for text file: Content type:text/plain

But now i have to allow user to download a 'xx.db' file which is a binary file in format.

Which 'Content type should i use in the Header, so that i could download this file with it's data, as currently nothing

comes into the file even though it gets downloaded.

Can anyone help me

By: VGR Date: 07/10/2003 17:31:00 English  Type : Answer
application/save
or
application/octetstream
By: maratmu Date: 08/10/2003 03:38:00 English  Type : Comment
Thanks VGR,

application/save worked!
By: VGR Date: 08/10/2003 17:06:00 English  Type : Comment
you're lucky ;-)

Do register to be able to answer

EContact
browser fav
page generated in 313.872100 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page