Larry E. Ullman wrote:
I've seen cases where extra buffer content gets added to the
downloaded file. The problem was fixed by deleting any existing
buffer before sending the file to the client. Not sure that will
solve the problem but it's worth a shot.
How does one delete an existing buffer?
I've seen cases where extra buffer content gets added to the
downloaded file. The problem was fixed by deleting any existing
buffer before sending the file to the client. Not sure that will
solve the problem but it's worth a shot.
How does one delete an existing buffer? ob_end_flush();?
ob_end_
* Thus wrote Scott Taylor:
>
>$fp = fopen($file, 'rb');
>// send the right headers
>header("Content-Type: application/pdf");
>header("Content-Length: " . filesize($file));
>// dump the file and stop the script
>fpassthru($fp);
>
> ...
>
> The reason for this is that someh
It appears as though some readers (such as adobe acrobat) can read
this file fine yet others (such as the program gv in *NIX) cannot read
it.
The reason for this is that somehow a hex 0A is added before the
inital %PDF-1.2 which marks the start of the PDF file causing some
readers to not recog
4 matches
Mail list logo