News Feed
Jobs Feed
Sections




News Archive
Robert Basic's Blog:
Honeypot for Zend Framework
April 21, 2010 @ 14:58:36

Robert Basic has posted a port of a WordPress plugin that helps you easily make a "honeypot" in your Zend Framework form to help keep the spam bots out.

I just hacked up a little code snippet based on Matthew's Honeypot Wordpress plugin. It's basically just a Validator for a Zend Form element which is hidden from the user via CSS. Cause it's hidden, users won't see it, but spambots will, well, cause they are bots.

The code snippet is included in the post for your cut & pasting pleasure and makes using it as easy as a normal "addElement" call when building your form.

0 comments voice your opinion now!
honeypot zendframework zendform form spam


blog comments powered by Disqus

Similar Posts

EasyTech Blog: Executing PL/SQL code in Zend Framework

Cal Evans' Blog: Zend's new namespace converter

Andreas Gohr's Blog: Old and New DokuWiki Plugins

IBM developerWorks: Use Ajax with PHP and DB2 9 - Xajax

Jani Hartikainen's Blog: Zend Framework - good for beginners or not?


Community Events









Don't see your event here?
Let us know!


code release opinion zendframework2 composer functional object framework language interview podcast event api example development introduction conference testing phpunit community

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework