Page 1 of 1

Handling jpg Photo Files

Posted: Sat Apr 22, 2006 8:58 pm
by nawthun
I am new to php and a trying to setup a very simple script that will
allow me to
1. Choose a jpg photo image from a selection of approx 12.
2. Add it to a form, to be filled in and submitted to a preset email address.

I have a simple form setup using radio buttons to select an image and
pass it onto a 2nd page, which displays it using the Switch-Case commands.
This page also has the form to be completed, users name, users email
address and comments.
I have a very simple php email script that works great with data from
an html form. But, I don't know how to pass the jpg photo image to it and
send it?
Can anyone help??
Tks....
:cry:

Posted: Sat Apr 22, 2006 9:08 pm
by feyd
phpmailer, among many other emailing classes can add attachments to emails for you with relative ease.