Re: [PHP-WIN] Sending a PDF page

2003-07-03 Thread Dash McElroy
Todd, What does this letter_new.php file do? Anything that spits out any kind of output after the PDF doc is sent will result in a corrupted PDF (unless it's valid PDF stuff...). What I do when I have an issue like that is to open up Sam Spade (samspade.org - download the windows client) and do an

[PHP-WIN] Sending a PDF page

2003-07-03 Thread Todd Cary
In this code:  if ($prtpdf) {     include "letter_new.php";     exit;   } I create a PDF page, however I would like to continue within the script (not have the exit).  If I do that, the PDF page is corrupted by the script code. What is the best solution for this? Todd -- <>