IE just don't work depending on some of the IE's version because of the IE's countless bugs. So, a different method of controlling the data output to the browser is needed. That's when I use the fopen() stuffs and it solve the problem. It is evident by reduced customer's calling tech support (us)... Questions about IE problem is something you would have to ask M$ on why it is using hte faulty IE.
Scott F. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > > //Can't use readfile() due to poor controlling of the file download. > > //(IE have this problems)... > > //readfile($filepath); > > readfile has no effect on how IE handles downloads. > > > > > //use fopen() instead of readfile... > > $fp = fopen($filepath, 'rb'); > > $pdf_buffer = fread($fp, $filesize); > > fclose ($fp); > > > > print $pdf_buffer; > > Loading the whole file in memory and not doing anything with it > before sending it to the client doesn't make much sense. > > > > > //Required, to keep IE from running into problems > > //when opening the file while downloading or downloading... > > //(IE been acting strange...) > > exit(); > > This also doesn't effect IE. > > > Curt > -- > "My PHP key is worn out" > > PHP List stats since 1997: > http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php