Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
Contact Form PHP Not Working

phendee
Registered User
Quote
2021-08-18 22:00:00

Well, Not having a lot of luck with the PHP as listed in the Rocket Cake Help. I inserted this into the PHP window:
$text = "";

foreach($_POST as $name => $value)

{

$text .= "$name : $value\n";

}



if ($text != "")

{

echo ‘Thanks for contacting us.’;

mail("phendee@familydigging.com", "Contact form request", $text);

}

--------------------------------------------------
Then uploaded to my domain. I got a message, "This page does not work"?? any ideas??


phendee
Registered User
Quote
2021-08-18 22:13:35

Uploaded Website for review:

https://familydigging.com/guest_...


niko
Moderator
Quote
2021-08-19 17:25:28

The file "contact.php" is missing on your server. I guess you should just rename the file "guest_book.html" to "contact.php".


miklesorento
Registered User
Quote
2021-08-24 17:12:32

Thanks for the recommendation.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internat?onal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact