Re: [PHP] Displaying a pdf inline

2004-09-14 Thread Curt Zirzow
* Thus wrote Todd Cary: After reading the online documentation, it appears that I should be using the following code, however it does not appear to work. Are there some obvious errors? ... header(Content-Type: application/pdf); header(Content-Disposition: inline;

Re: [PHP] Displaying a pdf inline

2004-09-14 Thread 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,

Re: [PHP] Displaying a pdf inline

2004-09-14 Thread Curt Zirzow
* 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