Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Form submission help
07-20-2007, 02:47 PM #1
- Join Date
- Jul 2007
- Thanked 0 Times in 0 Posts
Form submission help
I have created a form that I need to have submitted through email to my account and after it has been submitted I would like the user to be sent to a page that acknowledges that the form was submitted.
I have figured out the email part of it and now I am trying to see if it is possible to get the page to automatically redirect to another page. Anyone that would know the code for that would be helping me out in a huge way.
Also, right now I have the page set up so that when you hit the submit button it will email the form but it goes through outlook to send it. Is there a way so that a person who doesn't have outlook configured would be able to submit the form and it will still go through via email?
Thanks in advance for any help.
07-20-2007, 05:03 PM #2
- Join Date
- Oct 2006
- Denver, Colorado USA
- Thanked 319 Times in 311 Posts
The way to solve both of your problems is to use a server-side scripting language. You would then create a form processing page that handles the email and displays the confirmation/thank you page.
Your web server would need to have a scripting language installed. Common languages are PHP, ASP, and ASP.NET.
If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.