Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    try
    try is offline
    Banned
    Join Date
    Jul 2007
    Posts
    7
    Thanks
    0
    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
    Location
    Denver, Colorado USA
    Posts
    3,067
    Thanks
    2
    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.


  •  

    Posting Permissions

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