Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    try is offline
    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.

  • #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Denver, Colorado USA
    Thanked 335 Times in 327 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.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts