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
http request for that file (the web icon) and see what is screwing up the
content. A telnet to port 80 acting as a web browser will work as well.

You might also have some code that prints after your exit; call.

-Dash

The problem with any unwritten law is that you don't know where to go
to erase it.
                -- Glaser and Way

On Thu, 3 Jul 2003, 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?
>
> Todd
>
> --
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to