Re: Extra byte added to PDF streaming file
| From: | Scott Taylor | Date: | Tue, 27 Jul 2004 18:04:33 +0000 |
| Subject: | Re: Extra byte added to PDF streaming file | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191998@lists.php.net to get a copy of this message | ||
Larry E. Ullman wrote:
I just figured this out myself, and after doing so, I checked my email. I suppose I could have saved my self some trouble...ob_end_clean()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();?
For future reference, you should normally reply to the entire PHP list, not just to the person replying to your message. That way you're not imposing upon a person trying to help and you're not waiting for that one person to respond. Yes, I was just about to post my answer to whole list. Thank you very much!Scott