Re: Sending a PDF page
| From: | Ray Hunter | Date: | Thu, 03 Jul 2003 19:53:41 +0000 |
| Subject: | Re: Sending a PDF page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153922@lists.php.net to get a copy of this message | ||
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
>
> --
>