PHP 4.0 Bug #7465: File download with Internet Explorer

From: Date: Wed, 25 Oct 2000 20:54:54 +0000
Subject: PHP 4.0 Bug #7465: File download with Internet Explorer
Groups: php.dev 
Request: Send a blank email to php-dev+get-36010@lists.php.net to get a copy of this message
From: ovaladez@hotmail.com Operating system: Red Hat 6.2 PHP version: 4.0.3pl1 PHP Bug Type: Scripting Engine problem Bug description: File download with Internet Explorer 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(); ?> -- Edit Bug report at: http://bugs.php.net/?id=7465&edit=1

« previous php.dev (#36010) next »