WebsiteX5.info - The ultimate guide for Incomedia's WebsiteX5

Search this site

Go to content

Main menu:


Use a Captcha to beat those pesty spambots.

How to... > E-mail forms



Evolution 8 has a build in Captcha function which can be enabled on the Send-tab of the Email Object.




Current version: v0.5


Do you receive a lot of spam through your e-mail forms? One solution is to add a Captcha block to your form. Captcha stands for
Completely Automated Public Turingtest to tell Computers and Humans Apart.
A graphic block is added to the form with a code which the (human) user has to enter in a field. The idea is that automated spambots can't do this. However, most Captcha's are cracked, so the safety factor of Captcha's is a point of some discussion.

WebsiteX5 doesn't support Captcha's. So I have written a script which makes it possible to add captcha's to a WebsiteX5 form.

Using it is very easy! Just download, copy/paste it in a HTML-block and edit a few paremeters.


The script is based on the free Captcha implementation, which you can find on the website http://www.snaphost.com/captcha/. The Captcha block looks like this:



And it and has the following advantages:

  • The creation of the Captcha images is done on the server of Snaphost.com, so you don't have to implement any PHP or other scripting on your own server. So it works even when your provider doesn't support server-side scripting.
  • The mail is sent from the Captcha server and a copy can be sent to the user as well.


The disadvantages are:

  • The Captcha image isn't very strong, however it's useful.
  • No idea what will happen when more than one user fill out the form at the same time...


Using it is easy . First you will have to download the script...

Download the script (right-click, then save target as)

Then just add a HTML object to the page with the form and copy/paste the script in this html-block.
You then have to visit the website http://www.snaphost.com/captcha/ and find the line

<input type="hidden" id="skip_SnapHostID" name="skip_SnapHostID" value="...." />

Make a not of the string which you see after value= "...", because this is generated each time you visit the website. You then have to change a few parameters in the script to get it up-and-running.


Instruction video

To show you just how easy it is to add a Captcha block to your mailforms i've compiled a small instruction video for you!

<Start video>



     
     

A few last lines:

  • Captcha's can be broken by hackers and the Captcha which is used isn't very strong.
  • You can use the script at your own risk! I can't take any responsibility for you losing mail or business because of the use of the script.
  • This is a first beta-version. If you have any remarks I please send them to me. I can't promise I will fix any bugs straight away, but I will try.


Know issues (I'm working on them...)

  • For some field-types the name of the field isn't return in the mail. This is not so easy to solve.
  • Sometimes the Captcha block is not, or only partly visible at the bottom of the mail-form. To solve this place the HTML Code object next to the bottom of the mailform and change the height of the HTML Code Object. Because WebsiteX5 will force the bottom of the mail form to align with the bottom of hte HTML Code block this wil force the mailform to become larger...

Back to content | Back to main menu