0

I need to create a form that has four fields in it. I need "Name", "E-Mail", "Comments", and "Picture". i have created three of the four fields, and need help with the fourth. How do I make it so that the guest can upload a picture. I need the form to e-mail itslef to me when it is done (or be put in my cgi bin". I only know how to make the form e-mail itslef to be via a process.php file

3
Contributors
2
Replies
3
Views
11 Years
Discussion Span
Last Post by digital-ether
0

I need to create a form that has four fields in it. I need "Name", "E-Mail", "Comments", and "Picture". i have created three of the four fields, and need help with the fourth. How do I make it so that the guest can upload a picture. I need the form to e-mail itslef to me when it is done (or be put in my cgi bin". I only know how to make the form e-mail itslef to be via a process.php file

You probably dont want to email the picture to you as this would mean creating an attachment in your email.

The best option is to just include a link to the picture in the email sent to you.

To send an email to you use the mail() function. You can also use SMTP or sendmail but for a simple task as this you can use mail().

see http://us3.php.net/manual/en/function.mail.php for the mail() function.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.