note 31045 added to ref.pdf
| From: | bs at muekno dot de | Date: | Tue, 08 Apr 2003 09:47:19 +0000 |
| Subject: | note 31045 added to ref.pdf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46338@lists.php.net to get a copy of this message | ||
Hello,
Somebody asked there - Y just nonsens is printed @ his webbrowser.
There r 2 solutions:
First and bad one: Add a "parse handler" 4 pdf 2 your httpd.conf - rename the file: pdf
(Because it is one)
Second & better one:
Add these lines:
$fh=fopen("bla.pdf","w");
fputs($fh,$buf);
fclose($fh);
and delete the "print" or "echo".....
Regards,
Bernd
http://www.muekno.de
http://schulung.muekno.de
--
http://www.php.net/manual/en/ref.pdf.php
http://master.php.net/manage/user-notes.php?action=edit+31045
http://master.php.net/manage/user-notes.php?action=delete+31045
http://master.php.net/manage/user-notes.php?action=reject+31045