note 44386 rejected from function.fpassthru by vincent
| From: | vincent@php.net | Date: | Wed, 04 Aug 2004 14:21:51 +0000 |
| Subject: | note 44386 rejected from function.fpassthru by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73927@lists.php.net to get a copy of this message | ||
Note Submitter: khuiman@teradata.com.pe
----
i can't open pdf
<?
// open the file in a binary mode
$name = "http://prueba/0018186.pdf";
$fp = popen($name, 'rb');
// send the right headers
header("Content-Type: application/pdf");
fpassthru($fp);
?>
I can't display pdf??
Help me!!