PDA

Click to See Complete Forum and Search --> : Web Design- coding on forms


Jackimalyn
08-15-2006, 09:21 PM
OK, i feel like an idiot.

I am adding an application for employment to the website I run. I suck at adding forms. How do I get it to email the form to me when you hit "submit" and then send the user to a "thank you for applying blah blah blah" page? This is such an ametuer question but I am having major troubles for some reason. Thanks everyone :)

Jackimalyn
08-15-2006, 09:48 PM
man! i need to post this stuff when Tz's around!

JPnyc
08-15-2006, 10:01 PM
You need a serverside mailing script. Just google them and see what comes back. PHP is the most popular language for doing this, and there are pre-fab scripts out there. But any serverside language can do it.

genecotton
08-15-2006, 10:36 PM
OK, i feel like an idiot.

I am adding an application for employment to the website I run. I suck at adding forms. How do I get it to email the form to me when you hit "submit" and then send the user to a "thank you for applying blah blah blah" page? This is such an ametuer question but I am having major troubles for some reason. Thanks everyone :)

Indeed there are many ways to do this... all easy. Look in Google with the keyword "form2mail" for a solution that uses perl or cgi script.

Your host service provider will probably have their own easy-to-use solution... just look up their FAQ page for "form2mail" or "form to email". That would be the best way because you know that it will work and it probably comes with detailed instructions.

I prefer to use a simple "php" script that I have developed over time. It scanns through and reads all the fields, then returns them in an email. Very nice and flexible, no configuration required.

I put this script here for you:
http://www.cottongraphicdesign.com/sent.zip

Be sure to change the first variable in the code to your own email address. Your server will have to be able to do PHP5 CGI... this is another setting usually in your host service provider's control panels, or you can just call them.

Gene

Jackimalyn
08-16-2006, 03:01 PM
thatnks you guys... ill keep goin. All this code is driving me nuts