note 27021 deleted from ref.mail by vincent
| From: | vincent@php.net | Date: | Fri, 12 Sep 2003 06:53:53 +0000 |
| Subject: | note 27021 deleted from ref.mail by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56329@lists.php.net to get a copy of this message | ||
Note Submitter: hilger at emotiv-design dot de
----
sorry I forgot to add the most imortant part:
// Example for reading the file that you attach:
$file_url = "/web/user/virtual/pdf/file.pdf";
$fp = fopen($file_url,"r");
$str = fread($fp, filesize($file_url));
$str = chunk_split(base64_encode($str));