On Sat, 8 Sep 2001, Loïc wrote:
Hi Lance!
Hmm - I just tried that - now it opens a window saying 'Getting File Information' first - then a few seconds later has the same error as previously.
Well, you may try what is in the current cvs version: ..... } else { $ext = 'sql'; // loic1: 'application/octet-stream' is the registered IANA type but // MSIE and Opera seems to prefer 'application/octetstream' $mime_type = (USR_BROWSER_AGENT == 'IE' || USR_BROWSER_AGENT == 'OPERA') ? 'application/octetstream' : 'application/octet-stream'; }
// Send headers header('Content-Type: ' . $mime_type); // lem9: we need "inline" instead of "attachment" for IE 5.5 $content_disp = (USR_BROWSER_AGENT == 'IE') ? 'inline' : 'attachment'; header('Content-Disposition: ' . $content_disp . '; filename="' .
$filename . '.' . $ext . '"'); header('Pragma: no-cache'); header('Expires: 0'); } // end download .....
Hope that helps, Loïc
No - I had already tried the cvs version with exactly the same result - both on my home and office machines - IE 5.0
I have no problem with sending files using version 2.0.4
Any way I can debug the problem ??
Regards Lance