News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

Zend Developer Zone: Zend Framework Traveling Roadshow Coming to SF PHP Meetup

YensDesign.com: How to Validate Forms in both sides using PHP and jQuery

phpDevelopment Blog: Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha

Zend Developer Zone: Announcing the March 2011 Zend Framework Bug-Hunt

Michelangelo van Dam's Blog: Unit testing after Zend Framework 1.8 webinar


Community Events











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


project install threedevsandamaybe composer hack framework facebook performance language release introduction application symfony2 podcast package hhvm database unittest component security

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