[PHP] when is a PDF not a PDF?

2004-03-06 Thread Rick Fleischer
The simple example from http://www.php.net/pdf (hard-wired to paper.pdf) just displayed the pdf data as a dump. I can ftp the file and it's OK. My hard-wired version is shown below. ?php $len = filesize(paper.pdf); header(Content-type: application/pdf); header(Content-Length: $len);

Re: [PHP] when is a PDF not a PDF?

2004-03-06 Thread Jeff Harris
On Mar 6, 2004, Rick Fleischer claimed that: |The simple example from http://www.php.net/pdf (hard-wired to paper.pdf) |just displayed the pdf data as a dump. I can ftp the file and it's OK. My |hard-wired version is shown below. | |?php |$len = filesize(paper.pdf); |header(Content-type: