≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Spam via the contact form
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b][/b] wrote: Try pasting without those tabs. You probably have a syntax error in your php. You just don't see them because your web server is configurated not to show them. It is probably easier to enable them and see what the exact error is (so I'm just guessing). Try with this: [code]$text = ""; foreach($_POST as $name => $value) { $text .= "$name : $value\n"; } if ($text != "" && $_POST["verification"] == "foobar") { echo 'Thanks for contacting us.'; mail("youremail@example.com", "Contact form request", $text); } else if ($text != "") echo 'Please enter the verification field correctly.';[/code][/quote]
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