473,472 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

mail() & attaching picture

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 !

Jul 17 '05 #1
6 2156
".: 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)

Jul 17 '05 #2
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

Jul 17 '05 #3

".: 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
Jul 17 '05 #4
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

Jul 17 '05 #5
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
Jul 17 '05 #6
".: 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
Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dariusz | last post by:
I have a problem with a call a Javascript "window.open()" function which is executed as part of a PHP file when a user clicks on an thumbnail image. The PHP is executed which passes some variables...
5
by: Ken | last post by:
I want to write a js variable inside a function to a web page. test.js try_picture(); function try_picture() { var picture = '<tr><td colspan=2 align=right><font size=2>Picture...
4
by: Ed Landau | last post by:
In VB6.0, I can put an image on a form and assign it's .picture property at run-time. In VBA (within MS Access), when I put down an image control on a form, it asks me for the source to the image...
1
by: Sachin Kuchinad | last post by:
Hi All I am using .NET Framework version 1.0.3705 to build a website. Now i have made a webform and on that i have added a dropdown to the page I bind this listbox to a datareader . This does...
1
by: rb | last post by:
I am making a simple inventory control db. I want to include a picture of the item in each record. The picture will be from digital camera and in jpg format. I want to be able to browse and choose...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
2
by: avi1000 | last post by:
Hi I have a Word file with a picture inside that I have inserted and saved as HTML filtered. I'm trying to send the mail so that the Word doc will appear as the body of the mail with the picture...
8
AmberJain
by: AmberJain | last post by:
I'm having an mail account on yahoo mail. I formatted my HDD 3 days ago and reinstalled windows XP professional SP2. My problem is that I'm unable to attach any files to any of outgoing mail in my...
1
by: Forsi | last post by:
Hello I don't know a thing about writing VBA Codes but this forum I was able thas helped me to finally figure out how to link the pictures to a path etc on a form. Everything works fine on the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.