Trouble with 'Thank you@ page

Hi,
I'm new to web development and I am having a problem. I have created a comment form and am using PHP script for extraction. All the form info is going to the mail box and so the form and the script for it is working fine. However, I cannot get the Thank you page to appear.
This is the PHP script that I am using. It's working fine except for the thank you page (messagesent.html)
<?php
    $ToEmail = '[email protected]';
    $EmailSubject = 'Contact form ';
    $mailheader .= "From: ".$_POST["contactEmail"]."\r\n";
    $mailheader .= "Reply-To: ".$_POST["contactEmail"]."\r\n";
    $mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n";
    $MESSAGE_BODY .= "Name: ".$_POST["contactName"]."<br>";
    $MESSAGE_BODY .= "Email address: ".$_POST["contactEmail"]."<br>";
    $MESSAGE_BODY .= "Telephone: ".$_POST["contactTelephone"]."<br>";
    $MESSAGE_BODY .= "Subject: ".$_POST["contactSubject"]."<br>";
    $MESSAGE_BODY .= "Message: ".nl2br($_POST["contactMessage"])."<br>";
    $sent = mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader);
    if($sent)
{header( "Location: http://www.jenniescandles.net/messagesent.html" );}
else
{print "We encountered an error sending your comment"; }
?>
Any suggestions?
Sorry, in wrong forum. Should be in application development.
Message was edited by: Bfordmon

Do you mean you are using Insert > Pages > blank or text?
If you look at the bottom of the page window you can read how many pages you have. That number doesn't change?
Do you have thumbnails showing? You should see if you got a new page there. If you have chosen a page you already have you will get a new exactly the same page and for your eyes it will appear as you didn't get a new page.

Similar Messages

  • After last update itunes wouldn't open on my laptop (windows 7).  i uninstalled it but now it won't re-install but just takes me to 'thank you' page - help to reinstall please...

    Recently i updated my the itunes but after doing so although it would open on my computer for a bit, it wouldn't recognise it  - ie, syncing phone or I could open the program but when trying to redeem a gift voucher it didn't recognise the program on my PC and suggested i install it!.  Today it wouldn't open at all so I tried to  uninstalled it so i could reinstall it from scratch but now it won't re-install but just takes me to 'thank you' page.
    - help to reinstall please...

    Hey Elaine07!
    I have an article here that can help you with that issue. This article will help you make sure you have uninstalled iTunes correctly and help you troubleshoot the launch issues you are seeing:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • How do i get firefox to redirect to my thank you page

    my forms work perfectly for redirecting with the scripts just fine before.. Firefox drops off in my cgi script...
    (<html>
    <head>
    <title>Redirect</title>
    <meta http-equiv="refresh" content="0; URL=http://www.mysite/thankyou.html">
    </head>
    <body>
    </body>
    </HTML> )
    with the URL to the above just stopping in my cgi bin with the script name... and don't forward to the actual HTML thank you page...
    i have been at this for ever.. weeks since i have downloaded Firefox and found out that it's becoming popular...i assumed everyone uses internet explorer for the most part so my site would be fine..but a lot of people are also using Firefox.. this is a problem. please help me fix this issue so i can get all the functions of my site to agree with Firefox.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History > Show All History" or "View > Sidebar > History") or via the about:permissions page.
    Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make a note of those passwords and bookmarks.
    You can't recover from this 'forget' unless you have a backup of the affected files.
    It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.

  • Having trouble with Yahoo home page sign in. Some time it brings up my wife's Yahoo log in instead of my log in how can I fix this?

    When I open Firefox it is suppose to take me to my Yahoo home page. But it opens up showing my wifes Yahoo sigh in page in stead of mine. Having trouble with Yahoo home page sign in. Some time it brings up my wife's Yahoo log in instead of my log in how can I fix this?

    Did your wife tick the box on the Yahoo sign in page to remember her for two weeks?
    It would be best two have two separate Firefox profile folders, one for each of you to prevent such problems.<br />
    Then you also do not have problems with deleting or changing bookmarks.
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • How do I get a form to redirect to a thank you page CS4

    I have the form working using the server
    provided script:
    <form method=post action="http://www.iinet.net.au/bin/mail">
    <input type=hidden name="destination" value="[email protected]">
    But the result on submission has the email going to the right place but I want to replace the host server standard page with my thankyou.php page.
    The host instructions (https://iihelp.iinet.net.au/Homepage_mail-handler_script#toc_3) refer to mailhandler fields - specifically
    Resultpage
    A URL to a page that the client should see once the form is completed. If omitted a standard page will appear saying the form has been submitted
    What is this and what is the script I need to add into my dreamweaver cs4 source code in the feedback page and where abouts do I insert it so I still get the email containing the form contents and the user gets a thankyou page?
    Cheers

    Hi Bob
    I downloaded the free DIY script but have no idea which bit I need to use to add to what I have made in Dreamweaver - it looks like this is an alternative form but I only need the piece of script to add to mine to onsubmitform call up a thankyou page.
    Apologies I don't code I dont even use dreamweaver other than this specific situation and I rely on the DW help which has me asking the forum for the script as anything outside of adobe instruction do a then be = c or cut and paste x in this spot to do Y is probably out of my depth.
    If I really knew what I was doing then the tectite site would be great but if their formmail has the capability as they describe below how do I get DreamWeaver forms to have the same redirect the user capability?
    Or am I expecting to much from DW? If DW cannot do this then I will accept that the server default page is it (as crude as it looks)- at least the end result is success.
    I do appreciate your time on this - Cheers
    below is extract from tectite site on Redirecting the User
    This How-To guide explains how to redirect the user to a custom URL after they've submitted your form.
    Redirecting the User
    All versions of FormMail display a default page to the user if you don't specify something else.
    There are two possible outcomes to a user's form submission:
    Success; or,
    Failure (I do not need this for DW as it is already validated before submit form)
    Static Pages
    In the case of a successful form submission, FormMail defaults to a generic "Thank you" page. In the case of a failed form submission, FormMail defaults to a generic error page.
    You can choose a different page by specifying a URL with "good_url" and "bad_url" fields, for success, and failure, respectively.
    Like this:
    <input type="hidden" name="good_url"    value="http://yoursite.com/thanks.htm" />
    <input type="hidden" name="bad_url"    value="http://yoursite.com/error.htm" />
    These are hidden fields that you add to your HTML form. You don't need to change the PHP code in FormMail to get redirection to work.
    Template Pages
    The "good_url" feature provides you with a static results page. If you'd like to show some of the information the user submitted, you can use a field called "good_template".
    To do this, you need to set the TEMPLATEDIR or TEMPLATEURL setting in FormMail's configuration. Also, download the Sample Good Template and read the instructions in there.
    There's a similar feature for error handling called "bad_template". However, error handling is more complicated so we've provided a separate HOW TO guide on Advanced Error Handling.

  • Get thank you page but when I open itunes it says it wasn't intsalled properaly

    I had itunes on my computer forever but it had been a little while since i updated the software. I tried updating it tonight and downloading the latest verison. I get the thank you page but when I try to open itunes, it states it wasn't downloaded properly. I have tried quite a few things from the support page with no luck at finding a solution.

    What is the error message you get? A lot of users have been experiencing this, is this what you mean?
    iTunes for Windows: Missing MSVCR80.dll
    Troubleshooting issues with iTunes for Windows updates

  • Form that will submit email and go to thank you page

    I have a form that I can successfully send as an email.  When I send the email I also want to send them to a thank you page.  I've tried
    onsubmit="location.href='.../thanks.html';"  but that isn't working.  I don't want to post this form to a database.
    Any ideas?  I don't know php, am using html and asp pages.   http://www.evergreen-implement.com/Evergreen-Mailing_List.asp

    You can't if you are using mailto as your form action. You need your form to be processed by a server side form mail script. That script will process the form, email it, and then redirect to your thank you page. Check with your host to see if they have an ASP form script available. Never use mailto to email forms - it is unreliable and will fail most of the time.

  • Im having trouble with my home page alignment.

    Im having trouble with my home page alignment. If you look at all the other pages within my site you will see how the alignment should be... trunderground.com.  I have tried chaning master pages for my home page, and still nothing.... Please someone help.

    Ask in whatever forum of whatever web design app you use.
    Mylenium

  • Submit Form / Receive 'Thank You' Page

    I'm wondering if anyone has found a way to resolve this situation.
    The Situation: We have pre-recorded webinar files that we offer to our members on our web site. We want people to fill out a form with their contact info BEFORE viewing the webinar so that we have a list of who is viewing our webinar files.
    I created a form in Acrobat 8 Professional. When the person clicks the Submit button, an email is sent with a fdf attachement that includes the contact info they typed in the fields. This part works great.
    The problem is that AFTER they submit the email, I want to direct them to a "thank you" page which would contain a link to the webinar. I don't want them to access the "thank you" page until the email has been submitted.
    Does anyone have any ideas on how I could do this? Any advice would be greatly appreciated. Thank you.

    Still can't get AJAX to work.
    When submitting the form I get n empty page with the submitted code:
    {"FormProcessV2Response": { "success": true, "entityId": "26648984", "objectTypeId": "Cases", "objectId": "3531962", "message": "<table class=\"tabledefault\"><tr><td id=\"title\"><strong>Summary of web form submission:<\/strong><br\/><!-- IP Address: 121.44.153.236 --><\/td><\/tr><tr><td id=\"name\"><strong>Your Name<\/strong><br\/>micha json test<\/td><\/tr><tr><td id=\"email\"><strong>Email Address<\/strong><br\/><a href=\"mailto:[email protected]\">[email protected]<\/a><\/td><\/tr><tr><td id=\"casenumber\"><strong>Case Number<\/strong><br\/>3531962<\/td><\/tr><tr><td id=\"customfields\"><table class=\"tabledefault\"><\/table><\/td><\/tr><\/table>" }}
    I created a sample form here for you to see since the one online is live. feel free to test.
    http://vetsnyc.businesscatalyst.com/New-Client-Form.htm

  • Custom thank you page depending on payment method

    Hi,
    We have a client who would like to be able to provide the customer with a custom thank you page dependant on the type of Payment Method that has been used.
    Can anyone think of a way this could be done?
    Thanks in advance for your help.
    Cheers,
    Emily

    Put all the possible "pages" into DIVS or message lines you want to display into the your checkout page and hide them with CSS.
    In Javascript drop a cookie or append to the querystring (the form action) to what payment method was selected in realtime, when you get to the checkout page use javascript to detect what payment method was used and display the content you want to display by un-hiding the page DIV or message you want to show.

  • Redirecting survey users to thank you page after finish

    Hi All,
         I'm trying to redirect users to a custom page from ma survey using the code below:
    var inputcCtrls = document.getElementsByTagName("input");for(var m=0; m<inputcCtrls.length; m++) {       if(inputcCtrls[m].type=='button'&&inputcCtrls[m].value=='Finish') {    console.log(inputcCtrls[m].value, inputcCtrls[m].type)       inputcCtrls[m].onclick = function () { window.location = "/sites/surveys/Pages/ThankYou.aspx" };   }}
    But my survey never gets completed.
    What would be the best way to do it?
    Cheers

    Hi,
    According to your post, my understanding is that you wanted to redirect the users to a thank you page after finishing.
    You can use the SharePoint Designer to achieve it.
    Create a new page named as “Thankyou.aspx” page under the Site Pages.
    Open the site in SharePoint Designer 2013, click Lists and Libraries, go to "Forms" section. Create a New Form by clicking on "New Item Form"
    Give it a Name,  choose form type as "New Item Form" and enable "Set as default form for the selected type" and click on "Ok" to create the new form.
    Edit the New form we've just created. Open the "New.aspx" page with
    Advanced Mode in SharePoint Designer.
    Search for the savebutton1,savebutton2, delete all two “Finish” buttons.
    Insert SharePoint Form Action button from "Insert Menu >> SharePoint >> Form Action Button"
    Select the Form Actions "Commit" and "Navigate to Page" .
    Select the “Navigate to page” action, click “settings” to set the target page ,and click "OK".
    Rename the Form Action as Finish.
    Save and close the page.
    You can also refer to the following article, although it is for SharePoint 2010, it also fits for SharePoint 2013.
    http://www.verious.com/tutorial/share-point-survey-redirect-to-thank-you-page-on-finish/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • I'm trying to install itunes on new laptop but after clicking install button it jumps straight to thank you page!

    i'm trying to install itunes on laptop but after clicking install button it jumps straight to thank you page!

    Hello hate_technology,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    If you are having trouble installing iTunes or QuickTime for Windows, follow the troubleshooting steps in this article.
    Best of luck,
    Mario

  • I am trying to download iTunes, but cannot save the file because the thank you page comes up right away.

    I am trying to download itunes 11.1.3. 
    I cannot save the file,ItunesSetup.exe. 
    I click on Save File and nothing happens, I use XP.  The thank you page comes up right away

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • Form - Thank you page

    Hi everybody.
    I need to create a page "Thank you" Page that has to be linked in a form, but do not make it appear in the menu.

    You can access the property from the Site Admin page.
    Right click on any page and choose "Properties". Then you will find the "Hide in navigation" checkbox under the basic properties tab.

  • Thank you Page

    Can I set up a separate thank you page that the form pushes to for tracking upon submitting the form

    No, our thank you page has to be shown after the form is submitted. You can setup an autoredirect from that page to you own.
    Randy

Maybe you are looking for

  • Credit card question

    I am trying to remove my credit card from my itunes account. Not sure how to.

  • Help! G3 freaking out/kernel panic/memory problems

    Hi All, I put some pc 133 512 mb memory in my G3 [which is actually pc 100, but supposedly should work fine] and then it kernel paniced. Now it mostly seems to recognize memory in the slot closest to the screen. But only 64 and 32 mb sticks. Plus, it

  • Cannot Make PDFs of many web pages

    Mac running Tiger. I have the latest Firefox. This has been happening for many versions of Firefox, tho. I cannot always make full page pdfs of certain web pages. Safari has no problem giving me the full page but Firefox truncates. Asked friends on S

  • CRMD_ORDER transaaction adding attachment in Attachment tab

    Hi, In CRMD_ORDER Transaction->Attachments tab. I need to attach the HTML file as an attachment thru Program. Pls help me if anybody have worked on the above mentioned scenario. Thanks, sheela. Edited by: shantha sheela on Dec 9, 2008 8:55 AM

  • Techtool does not work under 10.8

    I have an annoying low level and strange ticking (might be the fan?) sound in my late iMac 27" (and unfortunately this started after I installed 10.8 and after I installed Bootcamp). I tried to scan the HD with Techtool (comes with the care plan) but