Subject: [PHP] Sending a PDF page
[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 co
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:
>
Todd Cary wrote:
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?
I am assuming
[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
4 matches
Mail list logo