Jump to content

StevenMG

New Members
  • Posts

    6
  • Joined

  • Last visited

StevenMG's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Barand, Thank you for the solution! I come from years of coding in C++, VB6 VBA and a few I have forgotten. This solution is something I never would have dreamed would work. It must be the server-side that identifies how to handle the content of a file by its extension. Interesting! This forum rocks!
  2. My Contact Form is working great. Thanks to this forum! After the mail is sent the thankyou.html page opens. On the thankyou.html page is it possible to pass the name the user typed in the contact.html page? Here is the order of pages run: contact.html mymail.php thankyou.html This code runs after the message is sent in the thankyou.html page: <p>Thank you </p> <?php $name=$_GET["name"]; echo $name; ?> <p>You will receive a reply soon.</p> Thank you in advance!
  3. QuickOldCar and NotionCommotion,Thank you for your replies! QuickOldCar, your code snippet suggestion is spot-on AGAIN!. It was pretty quick work to figure where it went in the PHP code Getting closer to the light at the end of the tunnel Am grateful for the time members here give to help when I get stuck. Back to the code
  4. I have the Contact Form working as needed. Am grateful for the help here! Been searching again for that one small piece of code that again eludes me. When a message is sent from the website the php code sends the message. Then a confirmation "Thank You" page opens. In the address bar it shows the name of the opened Thank You page as http://www.mywebsite/php/my_mail.php Using a template I created a Thank You HTML page and want the php code to open this page that will have a Close button. The Close button will take the user back to the index.html home landing page of the website and be done with the php file. This looked the most promising. However, I end up with a blank page from http://www.mywebsite/php/my_mail.php elseif (mail($sendto, $subject, $emailcontent, $headers)) { include(".http://www.mywebsite.com/thankyou.html"); } I also tried it without the leading dot inside the include() Thank you in advance!
  5. QuickOldCar, THANK YOU, THANK YOU, THANK YOU!!!In all the contact form web examples I looked at today NOT ONE of them mentioned to use <form action = "contact_php.php" etc... as where the pointer goes!!! Amazing. Even GoDaddy's tech support would not tell me that as she said there are so many configurations to webpage design that she can not help me with it. HELLO!!! lol I did the info.php earlier today, ran it and a mountain of meaningless information concerning php on GoDaddy was displayed on my screen. Maybe it will have meaning one day. However, today all I want is a Contact Form to work! Thank you again for your help and time! Steven
  6. GoDaddy is hosting my site on Linux. I called their support line and was told they can not answer these simple questions! My site is all done with one exception. The Contact Form. My website has an "Email" link in the top navigation area. The link to the contact.html works just fine. The Contact Form is designed and in place on the contact.html page. The styles.css formats the contact.html just fine. Now the $64,000 questions... I have no idea and am unable to find on the web how to get the contact_form.php page to communicate with the Contact Form on the html webpage. For example, when a user clicks the Submit button there is no link to the php file that tells the html page where to submit the message to along with the message, Name, etc. The styles.css file is in a directory named css and styles.css resides in it. In the < head > of the page there is a link pointing to the styles.css page. It looks like this: <link href="http://www.mywebsite.com/css/styles.css" rel="stylesheet" type="text/css" media="screen"> Questions: How on earth do I get the contact_form.php file to work with my website Contact Form? Where does the contact_form.php reside? What file extension does the contact_form.php? is .php correct? What is up with the .ini file I keep reading about? I have honestly spent the largest portion of today trying to find the answers to these simple questions. Any help is greatly appreciated. Thank you in advance!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.