Try using the a shutdown function: http://us2.php.net/manual/en/function.register-shutdown-function.php
and put all your logic that needs to run after the exit function. -- BigDog On Thu, 2003-07-03 at 13:18, Todd Cary wrote: > [Sent this the first time to the wrong list] > > 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 > > -- > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php