php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7465 File download with Internet Explorer
Submitted: 2000-10-25 16:54 UTC Modified: 2000-11-03 20:46 UTC
From: ovaladez at hotmail dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.3pl1 OS: Red Hat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ovaladez at hotmail dot com
New email:
PHP Version: OS:

 

 [2000-10-25 16:54 UTC] ovaladez at hotmail dot 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();
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-03 20:46 UTC] sniper@php.net
This is not any bug in PHP but more likely in Explorer.
Please post further questions to php-general@lists.php.net

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 17:00:01 2026 UTC