[PHP] Re: output a PDF, over header(). causes corruption on the file?

2004-10-04 Thread Daniel Schierbeck
Louie Miranda wrote: Im trying to output a pdf over a browser so i can hide the url link to it. but this one causes corruption. Try this.. http://dev.axishift.com/php/getpdf.php i got this part.. Note: There is a bug in Microsoft Internet Explorer 4.01 that prevents this from working. There is no

[PHP] Re: output a PDF, over header(). causes corruption on the file?

2004-10-03 Thread Louie Miranda
this is one problem i haven't seen some exact solutions. i tried this instead.. header(Content-type: application/pdf); header(Content-transfer-encoding: binary); header(Content-Disposition: attachment; filename=list.pdf); $fp = fopen($WCFPriceList, rb); fpassthru($fp); and it did work. but im