RE: [PHP] Sending Pictures to Cell Phones
| From: | Bastien Koert | Date: | Wed, 14 Nov 2007 20:28:56 +0000 |
| Subject: | RE: [PHP] Sending Pictures to Cell Phones | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264520@lists.php.net to get a copy of this message | ||
What is the actual planned implemtation? Email or SMS/MMS?
if the latter, you are looking for MMS specs (send XML SMS to phone with media)
Try http://hellkvist.org/software/ for code samples
HTH
Bastien
> Date: Wed, 14 Nov 2007 13:45:05 -0600> From: philthathril@gmail.com> To:
> php-general@lists.php.net> Subject: Re: [PHP] Sending Pictures to Cell Phones> > On Nov 14,
> 2007 12:27 PM, <jeremy@omegavortex.net> wrote:> > > Hey list,> >> >
> I'm doing some R&D for a project at my job and my boss wants the ability> > to send
> pictures to cell phones. I was wondering if anyone had any> > experience with this or could
> point me in the right direction to get> > started.> >> > Thanks,> >
> Jeremy> > > I haven't tested it, but you could try sending an HTML email with the>
> picture included as the message.> > <?php> $to =
> '9876543210@whatever.carrier.com';> $subject = 'Some Subject';> $message =
> '/path/to/image.png';> // Used for HTML email... php.net/mail> $headers =
> 'MIME-Version: 1.0' . "\r\n";> $headers .= 'Content-type: text/html;
> charset=iso-8859-1' . "\r\n";> mail ($to, $subject, $message, $headers);>
> ?>> > Maybe try that. You might also try changing the Content-type to image/png> (or
> whatever type) if the text/html doesn't work. Again, not tested, but it> may work.> >
> HTH> ~Philip
_________________________________________________________________
Express yourself with free Messenger emoticons. Get them today!
http://www.freemessengeremoticons.ca/?icid=EMENCA122