Re: PDF BLOB to Email
| From: | Michelle Konzack | Date: | Sat, 13 May 2006 20:54:08 +0000 |
| Subject: | Re: PDF BLOB to Email | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41900@lists.php.net to get a copy of this message | ||
Am 2006-05-11 14:21:07, schrieb Adrian Bruce:
> Hi
>
> I have pdf's stored as a blob in a MySQL database, how can i set a
> script (PHP obviously!) to email these blobs as pdf files. The only way
> i can think of at the moment is to write them to disk and then attach
> them to the mail before sending it. This doesn't seem that efficient
> but perhaps it is the only way??
Whay not create the E-Mail in memory and the echo it into "sendmail -t"
This is what I do...
The temporary files laying around (like after crasches or $USER abort)
Greetings
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)