[Phpmyadmin-devel] file_echo.php
Michal Čihař
michal at cihar.com
Fri Aug 5 13:08:05 CEST 2011
Hi
Dne Fri, 5 Aug 2011 13:34:07 +0300
Tyron Madlener <tyronx at gmail.com> napsal(a):
> Commit d368a81ccaf2c1013bd49cbf51ec23be346aeffb and
> 9f425de0e727b4219e50111b25c362164d420284 does this now.
>
> I had to use text/plain though because some browsers like FF doesn't
> understand application/json (and offers the file to be downloaded).
You need to change only Content-Type and not Content-Disposition as
PMA_download_header does. Then application/json should work just fine
in all browsers.
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110805/2e436280/attachment.sig>
More information about the Developers
mailing list