Hi I have this code, along with a MYSQL statement:
header("Content-type: application/octet-stream");
header("Content-disposition: attachment; filename=helpbuildhope.csv");
header("Pragma: no-cache");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Expires: 0");
That I am using to pull data out of a MySQL dB to a local CSV file. It works wonderfully in Firefox! However, in IE 6.+ it fails with the following error message: "Internet Explorer cannot download sccget.php from Internet Explorer was not able to open this Internet site. The requested site is ether unavailable or was not found. Please try again later." Along with the error dialogue box is also the typical IE download box that is not downloading anything. You can see a screen shot at:
The easy solution is to just use Firefox, but I can't guarantee that the folks using this web page will always do so. Suggestions, thoughts?
Jim Null
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
header("Content-type: application/octet-stream");
header("Content-disposition: attachment; filename=helpbuildhope.csv");
header("Pragma: no-cache");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Expires: 0");
That I am using to pull data out of a MySQL dB to a local CSV file. It works wonderfully in Firefox! However, in IE 6.+ it fails with the following error message: "Internet Explorer cannot download sccget.php from Internet Explorer was not able to open this Internet site. The requested site is ether unavailable or was not found. Please try again later." Along with the error dialogue box is also the typical IE download box that is not downloading anything. You can see a screen shot at:
The easy solution is to just use Firefox, but I can't guarantee that the folks using this web page will always do so. Suggestions, thoughts?
Jim Null
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)