Variable Content Streaming in PHP
<p>I wrote a toPdf class in PHP that has the ability to stream it to the browser. If the file is not marked as savable, I need to perform clean up after I stream it. Since that is not possible, I'm wondering if there is a way to read the file into a variable, perform my clean up, send the headers, then start the file steam?</p>

<p>Thanks!</p>
