bug #1116026, export under IE 6 (XP SP2)
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
|||||||
|
|
||||||
2005-07-12 Marc Delisle <lem9@users.sourceforge.net>
|
2005-07-12 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* sql.php: for Insert row and Export, use post when the query is too big
|
* sql.php: for Insert row and Export, use post when the query is too big
|
||||||
|
* export.php: bug #1116026, export under IE 6 (XP SP2)
|
||||||
|
|
||||||
2005-07-11 Marc Delisle <lem9@users.sourceforge.net>
|
2005-07-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_relations.php: bug #1227710, unsaved relations lost when changing
|
* tbl_relations.php: bug #1227710, unsaved relations lost when changing
|
||||||
|
12
export.php
12
export.php
@@ -308,15 +308,13 @@ if (!$save_on_server) {
|
|||||||
}
|
}
|
||||||
header('Content-Type: ' . $mime_type);
|
header('Content-Type: ' . $mime_type);
|
||||||
header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||||
// lem9 & loic1: IE need specific headers
|
// lem9: Tested behavior of
|
||||||
if (PMA_USR_BROWSER_AGENT == 'IE') {
|
// IE 5.50.4807.2300
|
||||||
header('Content-Disposition: inline; filename="' . $filename . '"');
|
// IE 6.0.2800.1106 (small glitch, asks twice when I click Open)
|
||||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
// IE 6.0.2900.2180
|
||||||
header('Pragma: public');
|
// Firefox 1.0.4
|
||||||
} else {
|
|
||||||
header('Content-Disposition: attachment; filename="' . $filename . '"');
|
header('Content-Disposition: attachment; filename="' . $filename . '"');
|
||||||
header('Pragma: no-cache');
|
header('Pragma: no-cache');
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
// HTML
|
// HTML
|
||||||
$backup_cfgServer = $cfg['Server'];
|
$backup_cfgServer = $cfg['Server'];
|
||||||
|
Reference in New Issue
Block a user