|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-03 20:46 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 11 15:00:01 2026 UTC |
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(); ?>