Re: Emailing & header

From: Date: Fri, 30 Jun 2000 21:31:38 +0000
Subject: Re: Emailing & header
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4164@lists.php.net to get a copy of this message
In article <8j0dfl$kqf$1@toye.php.net>, jandeluyck@gmx.net ("Jan De Luyck") wrote: > Hi there > > I've been trying to create a script that does the following: > everyday there is a new 'userfriendly' cartoon (I guess most people know > this). Now I've created a script that parses the > www.userfriendly.org/static/index.html in order to get the correct filename > of the image wanted. This works out great. > > Then, after this, I use a header( "Content-type: image/gif" ); to display it > on the > browser window. This all works great. > > But what I also want this script to do, is to email me the image. I have no > access to any 'image' functions of php (due to lack of image lib). Is there > any way to send an 'html' email with a header in it so that the image would > come out okay? Several of the PHP mail user-contributed scripts handle attachments, so you could just attach the GIF, or even send HTML-enable mail, I guess, since it's to yourself, and you won't yell at yourself for sending html-mail... I think Manuel Lemos package for email might be easiest to set up and use for this, but there's others... -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#4164) next »