Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name: Password:
Ambiera Forum > RocketCake
Contact Form PHP Not Working
Author Text

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: "Intern?tional" (you are not logged in)


Text:

 

  

Forum 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