mail() & attaching picture – PHP

  php

Q(Question):

How can i brows for picture on disk and then save it into array for mailing
?

——
www.podvodni-svijet.com

"Half-brother in blood,
full brother in heart will I be.
Thou shalt lead and I will follow.
May no new grief divide us."

Valar morghulis!

Remove all FAKEs when replying to mail !

A(Answer):

".: DeVa :." <FA********@FAKEpodvodni-svijet.com> wrote:

How can i brows for picture on disk and then save it into array for mailing
?

I never did this myself but it’s probably similar to the plaintext/html email
examples you can find in the php manual:
http://ch2.php.net/mail
Instead of text/html you then would have image/jpeg or image/gif as mime type
and just add the binary data to the mail body.

Ja ne
Adrian


Sou desu-ka? O_o -_- x_x _
http://www.animelayer.net/ (Reviewdatenbank)

A(Answer):

Yes i looked there, but didnt find anytthing that could help me….

If someone can post mi source or example for attaching picture with mail()
( MIME) i would be very very happy ant thanlofoul to him…

I searched all over the net and didnt find nothing good or it is not working
or it is bunch of unexplained self named variable code….

TNX VERY MUCH
Adrian Stutz [anime_layer] natipka┬╣e:

".: DeVa :." <FA********@FAKEpodvodni-svijet.com> wrote:

How can i brows for picture on disk and then save it into array for
mailing ?

I never did this myself but it’s probably similar to the
plaintext/html email examples you can find in the php manual:
http://ch2.php.net/mail
Instead of text/html you then would have image/jpeg or image/gif as
mime type and just add the binary data to the mail body.

Ja ne
Adrian

A(Answer):

".: DeVa :." <FA********@FAKEpodvodni-svijet.com> wrote in message
news:c5**********@bagan.srce.hr…

Yes i looked there, but didnt find anytthing that could help me….

If someone can post mi source or example for attaching picture with mail()
( MIME) i would be very very happy ant thanlofoul to him…

I searched all over the net and didnt find nothing good or it is not
working or it is bunch of unexplained self named variable code….

TNX VERY MUCH

I looked once, and got this:
http://www.zend.com/zend/spotlight/s…emailpart1.php

Have fun.

Garp

A(Answer):

Yes i tryed that one allready, tnx… i found it by myself and its all
working just fine now :))

Bett ya that i head a good time ­čÖé

Garp natipka┬╣e:

".: DeVa :." <FA********@FAKEpodvodni-svijet.com> wrote in message
news:c5**********@bagan.srce.hr…

Yes i looked there, but didnt find anytthing that could help me….

If someone can post mi source or example for attaching picture with
mail() ( MIME) i would be very very happy ant thanlofoul to him…

I searched all over the net and didnt find nothing good or it is not
working or it is bunch of unexplained self named variable code….

TNX VERY MUCH

I looked once, and got this:
http://www.zend.com/zend/spotlight/s…emailpart1.php

Have fun.

Garp

A(Answer):

Hello,

On 04/12/2004 12:58 PM, .: DeVa :. wrote:

How can i brows for picture on disk and then save it into array for mailing

You need to use a form to upload the picture to the server and then
compose and send a message attaching the picture.

You may want to try this class to generate and handle the file upload
with the form:

http://www.phpclasses.org/formsgeneration

and this other class to compose and send the message attching the
picture file:

http://www.phpclasses.org/mimemessage

Regards,
Manuel Lemos

PHP Classes – Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews – Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage – Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

A(Answer):

".: DeVa :." <FA********@FAKEpodvodni-svijet.com> wrote in message news:<c5**********@bagan.srce.hr>…

Yes i looked there, but didnt find anytthing that could help me….

If someone can post mi source or example for attaching picture with mail()
( MIME) i would be very very happy ant thanlofoul to him…

1. <http://phpmailer.sourceforge.net/>
2. <http://www.google.com/search?q=php+mail>


http://www.sendmetoindia.com – Send Me to India!
Email: rrjanbiah-at-Y!com

LEAVE A COMMENT