[Phpmyadmin-devel] patch for tbl_dump.php

Ignacio Vazquez-Abrams ignacio at openservices.net
Sat Aug 25 09:16:21 CEST 2001


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'.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Developers mailing list