Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Please, has somebody a "simple way" to secure contact page into a website built on RocketCake from bot and robot? Went to reCAPTCHA but as I'm a beginner, I tried many times without success. Thanks to all of you for your help and support! Best Regards |
||||
|
Add a simple verification field, like here: https://www.ambiera.com/forum.ph... |
||||
|
Thank you very much Erik. Went to it but, what is the latest code I should enter because it seems it has been updated many times Also, this code, were should I enter it? Must I create a specific space for it? Must I enter in into the page and modify HTML? So sorry for my (stupids) questions and thanks a lot for your feedback |
||||
|
Just as written on that other post: Replace the code in your PHP code element with the one from the forum and add another field for your webform, and set its name to "verfication". Replace the word "foobar" in the code with whatever real people should enter into that verification text field. |
||||
|
Thank you so much Erik. I will try with my very very basic knowledge and will keep you informed. Best Regards! |
||||
|
Erik, Thank you and sorry, it's me again... ![]() So, when you mention... "Replace the code in your PHP code element with the one from the forum and add another field for your webform, and set its name to "verfication" ...How I can do that please? "Replace the code in your PHP code"...where can I find that please? "Add another field for your webform"...What do you mean? "Set its name" How can I do that? Would you have a picture for me to better understand all of these things to do Erik please? Sorry again Erik and thanks in advance. Regards!!! |
||||
|
Your first post in this thread reads as if you already have created your contact form. Your questions, however, suggest that you haven't got that yet. So please go to the RocketCake Help where you will find a step-by-step instruction on how to create a contact form. https://www.ambiera.com/rocketca... This will tell you how to enter a text field (for verification) and where to put the php-code. |
||||
|
To micaelo I have already have created your contact form ![]() Please, find below what I have into the PHP: $text = ""; foreach($_POST as $name => $value) { $text .= "$name : $value\n"; } if ($text != "") { echo '<span style="font-size:15pt; font-family:Tahoma, Geneva, sans-serif; color:000000; line-height: 1.5; ">Thanks for contacting CONSULTING FIRM.'; mail("pcoqueblin@consultingfirm.fr", "Contact form request", $text); } So, based on what is already into the PHP, what should I do, what should I change and more important, how to do it please? Again, thanks to all of you for your help and support for me to have this solved. Kind Regards |
||||
|
So, if you already got this, you already know how to enter a text field. Just add another one (the one where visitors will have to enter the verification phrase), following erik's instruction. And in the php box replace what you have in there currently with the code given in the other thread, again following erik's instruction. |
||||
|
TO micaelo Finally....IT WORKS !!! So, thanks to you ... and all the ones who helped me on this subject. Best regards... |
||||
|
It's funny, I've had one for almost ten years now totally unprotected and there are years between it's getting spammed, despite it's easy to find on google. The site admin email is getting spammed daily though. |
|