PHP 4.0 Bug #7465 Updated: File download with Internet Explorer

From: Date: Sat, 04 Nov 2000 01:46:26 +0000
Subject: PHP 4.0 Bug #7465 Updated: File download with Internet Explorer
Groups: php.dev 
Request: Send a blank email to php-dev+get-37091@lists.php.net to get a copy of this message
ID: 7465 Updated by: sniper Reported By: ovaladez@hotmail.com Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: This is not any bug in PHP but more likely in Explorer. Please post further questions to php-general@lists.php.net --Jani Previous Comments: --------------------------------------------------------------------------- [2000-10-25 16:54:54] ovaladez@hotmail.com I have a problem when i try to download a file in Microsoft Internet Explorer, it works fine in Netscape Navigator the code is next : <? $title = "Download"; require "../common.html"; require "../include/funciones.html"; ?> <? page_open(array("sess"=>"Session_WELL")); $qki = "HBid=rwerew32rfsdfsfsdsfd"; $priv = "111111111111100000000000000011"; $usr = "nom"; $File = "TXT"; $particularFields = "&Month=".urlencode($Month)."&FrAccount=".urlencode($FrAccount)."&Year=".urlencode($Year)."&File=".urlencode($File); PostToHost($backend, "/IBnkIIS.dll", "Trxn=stm&Access=".urlencode($Access)."&CustID=".urlencode($usr)."&Cadpriv=".urlencode($priv).$particularFields, $qki, $usr, $qki, $priv); switch($File) { case "TXT": Header("Accept-Ranges: bytes"); Header("Keep-Alive: timeout=15, max=100"); Header("Content-type: text/plain"); break; case "QIF": Header("Content-type: text/qif"); break; case "OFC": Header("Content-type: text/ofc"); break; } printbuffer(); page_close(); ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7465

« previous php.dev (#37091) next »