Handling jpg Photo Files

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
nawthun
Forum Newbie
Posts: 3
Joined: Sat Apr 22, 2006 8:02 pm
Location: Potrerillos Arriba, Chiriqui, Rep de Panama

Handling jpg Photo Files

Post 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:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

phpmailer, among many other emailing classes can add attachments to emails for you with relative ease.
Post Reply