Click to See Complete Forum and Search --> : E-mail Form Script


Gvisions
12-31-2002, 02:43 PM
Hi guys,

I would like to know how can I create a code so that the information in the contact page can be send to my email account?

my site is NOT in a server yet, but it will be soon using godaddy!

Can some one show me how to do it? please thanks:confused:

spoontacular
12-31-2002, 02:46 PM
You'll have to use a server-side scripting language, like PHP.

If you have it enabled, you can use its mail() function.

http://www.php.net/mail

Gvisions
12-31-2002, 02:54 PM
I have the page already made, I just need to add the code so it can be send to my email.

this is the text:

Complete Name (required)

Phone Number

E-mail Address (Required)

Image Number you would like to purchase

Image size

Would you like your image matted
( ) YES ( ) NO

Matt Color

Anyother Comments you may have
(Text Box)

|RESET | SUBMIT |

that's all the text. thanks guys

AdamBrill
12-31-2002, 06:20 PM
Sounds to me like you need a form handler. I would just use the formmail CGI. It works pretty well. Here's the link to get it: http://www.scriptarchive.com/formmail.html Hope that helps...

jeffmott
12-31-2002, 09:31 PM
AdamBrill
I would just use the formmail CGI

No.

Although the majority of scripts available are buggy and insecure, Matt's Script Archive is among the worst. Even Matt not longer recommends his scripts.

Security Focus put MSA FormMail attacks third in their list of the Top Attacks for the 1st Quarter of 2002 (http://www.securityfocus.com/corporate/research/top10attacks_q1_2002.shtml).