Languages :: PHP :: File Download |
|||
| By: maratmu |
Date: 07/10/2003 00:00:00 |
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 | Type : Answer |
|
| application/save or application/octetstream |
|||
| By: maratmu | Date: 08/10/2003 03:38:00 | Type : Comment |
|
| Thanks VGR, application/save worked! |
|||
| By: VGR | Date: 08/10/2003 17:06:00 | Type : Comment |
|
| you're lucky ;-) |
|||
|
Do register to be able to answer |
|||
©2012 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








