Re: Serving an image

From: Date: Tue, 16 Oct 2012 08:49:29 +0000
Subject: Re: Serving an image
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-319474@lists.php.net to get a copy of this message
viper <recursivepointer@gmail.com> hat am 16. Oktober 2012 um 08:54 geschrieben: > On Tue, Oct 16, 2012 at 7:40 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote: > > Many receiving e-mail clients will not show external images. External > > images are used by spammers to trach if a message is read. > > true; > > you could embed images in email.. > > http://www.campaignmonitor.com/blog/post/1761/embedding-images-in-email/<™‘çlÅ*,d×À%(í > > > so you could use this (or similar) to write the email: > echo '<img > > src="data:image/png;base64,'.base64_encode(file_get_contents('test.png'));.">'; Actually this is bad practice ... it blows up your code. Use attachments for that. > > (i don't know if it works :D ) > > > viper > > -- > + http://vipertechnology.dyndns.org > () ascii ribbon campaign - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > + http://vipertechnology.dyndns.org/cotnact/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: marco@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz

« previous php.general (#319474) next »