* Thus wrote Todd Cary:
> Curt -
> 
> Thank you for the quick response.  The file is being sent and the PDF 
> reader does try to open it, but it is corrupted.  When I change the 
> Disposition to
> 
> header("Content-Disposition: attachment; filename=image.pdf")
> 
> and save the file, it cannot be opened do to errors within the file. 
> Yet, the file can be opened on the server.
> 
> Am I missing something simple here?

One thing to do is look at the actual contents of the file. You
may see a PHP_NOTICE, or PHP_WARNING there, which will make the
file appear corrupt to the pdf reader.

Curt
-- 
The above comments may offend you. flame at will.

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

Reply via email to