Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Can Of Spam is an event filter for Symphony that prevents spammers from bombing your forms.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 events
Octocat-spinner-32 README.md
Octocat-spinner-32 extension.driver.php
Octocat-spinner-32 extension.meta.xml
README.md

Can Of Spam

Protect your forms against spam with a hidden hash-validation-field.

Installation

** Note: The latest version can always be grabbed with "git clone git://github.com/symphonists/canofspam.git" **

  1. Upload the 'canofspam' folder in this archive to your Symphony 'extensions' folder.

  2. Enable it by selecting the "Can Of Spam", choose "Enable/Install" from the with-selected menu, then click Apply.

  3. Add the "Can Of Spam" event to your page (adds the hash to the param pool).

  4. Add the "Can Of Spam" filter to your section event (validates the submitted hash).

  5. Add a hidden "Can Of Spam" field to your form (contains the hash from the param pool).

Example HTML

<input name="canofspam" value="{$canofspam}" type="hidden" />
Something went wrong with that request. Please try again.