PHP / Apache Issue

Justin Bennett Justin.Bennett at dynabrade.com
Tue Aug 31 09:58:24 EDT 2004


I have redhat 2.1ES machine running Apache and PHP. I have a PHP script 
that generates a PDF. Every third or fourth time I run the script I 
don't get the PDF instead I get the headers and asci equiv of the PDF in 
my browser. I hit reload and the PDF comes up fine. Any idea why this 
might happen, possibly config error?


HTTP/1.1 200 OK
Date: Tue, 31 Aug 2004 14:19:30 GMT
Server: Apache/1.3.27 (Unix)  (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.3.4 mod_perl/1.26
X-Powered-By: PHP/4.3.4
Content-Length: 10053
Content-disposition: inline; filename=doc.pdf
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: application/pdf

%PDF-1.3
3 0 obj
<</Type /Page 
<SNIP>

-- 
Justin Bennett
Network Administrator
Dynabrade, Inc.
8989 Sheridan Dr.
Clarence, NY 14031
 




More information about the nflug mailing list