May I suggest a very basic change to tbl_dump.php that will make the downloading of files more sensical? I have added a mime_types array so all files don't look like application/octet-stream and I also fixed the line of "Content-Disposition:" so that it actually carries the filename through and not the name of the php script. Here is your patch...
On 24 Aug 2001, Dan Allen wrote:
May I suggest a very basic change to tbl_dump.php that will make the downloading of files more sensical? I have added a mime_types array so all files don't look like application/octet-stream and I also fixed the line of "Content-Disposition:" so that it actually carries the filename through and not the name of the php script. Here is your patch...
Just a small note: the MIME type for .csv is actually 'text/x-csv'.