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);
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:
2 matches
Mail list logo