Hi, just another vote for Mike's GB Contact Form - been using it successfully for a while now and it works beautifully. Had tried a lot of other options and form setup - this one is by far the best, in my humble opinion anyway.
So - thank you, Mike ;) Prisca On Thu, Sep 4, 2008 at 6:48 PM, Joseph Taylor <[EMAIL PROTECTED]> wrote: > Good call. > > <?php > // check the answer > if (strtolower($_POST['human_verifier']) != 'blue') > { > // incorrect > echo 'Robot! Get out!'); > } > else > { > // correct > echo 'Welcome, Human.'; > } > ?> > > I agree that Mike's form is well made too. It takes my concept and adds in > all the other pieces you'd want for the complete solution. > > Joseph R. B. Taylor > /Designer / Developer/ > -------------------------------------- > Sites by Joe, LLC > /"Clean, Simple and Elegant Web Design"/ > Phone: (609) 335-3076 > Fax: (866) 301-8045 > Web: http://sitesbyjoe.com > Email: [EMAIL PROTECTED] > > > > Mike at Green-Beast.com wrote: > >> Hi Joseph, >> >> <?php >>> // check the answer >>> if ($_POST['human_verifier'] != 'blue') >>> { >>> // incorrect >>> echo 'Robot! Get out!'); >>> } >>> else >>> { >>> // correct >>> echo 'Welcome, Human.'; >>> } >>> ?> >>> >> >> You can make that a little more foolproof by setting the case of the text >> before matching, upper or lower it doesn't matter, but either way it'll >> prevent answers like Blue, BLUE, bLuE, etc. from triggering the "Robot! Get >> out!" error. >> >> Respectfully, >> Mike Cherim >> >> >> >> >> ----- Original Message ----- From: "Joseph Taylor" <[EMAIL PROTECTED]> >> To: <wsg@webstandardsgroup.org> >> Sent: Thursday, September 04, 2008 1:01 PM >> Subject: Re: [WSG] Accesbility Help >> >> >> If you want to avoid captchas, my recommendation would be to add a >>> question that would foil a robot. Just explain that this field is for that >>> specifically. >>> >>> Something like: >>> >>> <fieldset> >>> <legend>Human Verification</legend> >>> >>> <p>This section is used to thwart evil spam robots. Fill in the correct >>> answer.</p> >>> >>> <div> >>> <label>What color is the sky? (hint: blue)</label> >>> <input type="text" name="human_verifier"> >>> </div> >>> </fieldset> >>> >>> You're PHP would be: >>> >>> <?php >>> // check the answer >>> if ($_POST['human_verifier'] != 'blue') >>> { >>> // incorrect >>> echo 'Robot! Get out!'); >>> } >>> else >>> { >>> // correct >>> echo 'Welcome, Human.'; >>> } >>> ?> >>> >>> This is obviously a very, very simple solution but it has worked on >>> reducing/removing form spam on a couple of my sites quite well while being >>> an accessible solution. I'm welcome to an contradictory thoughts on this. >>> >>> Joseph R. B. Taylor >>> /Designer / Developer/ >>> -------------------------------------- >>> Sites by Joe, LLC >>> /"Clean, Simple and Elegant Web Design"/ >>> Phone: (609) 335-3076 >>> Fax: (866) 301-8045 >>> Web: http://sitesbyjoe.com >>> Email: [EMAIL PROTECTED] >>> >>> >>> >>> Essential eBiz Solutions Ltd wrote: >>> >>>> >>>> * Click the Essential eBiz Solutions logo to visit our home page < >>>> http://www.essentialebizsolutions.net> * >>>> >>>> >>>> * Hi All, * >>>> >>>> >>>> * This is a mixed question, I have a contact form that I'm building. >>>> I want to add a human verifier to the forms but not a captcha one >>>> because they are far from accessible, I'm not that good at PHP >>>> though to figure it out, I already use the Mikes Green Beast form >>>> for general contact but this will be to process order request. I've >>>> trawled the internet but all I can find is captcha solutions, can >>>> any one point me in the right direction? * >>>> >>>> >>>> * * >>>> >>>> >>>> * Many thanks * >>>> >>>> Essential eBiz Solutions Ltd >>>> >>>> 6 Gibson Place >>>> >>>> Meir >>>> >>>> Stoke-on-Trent >>>> >>>> www.essentialebizsolutions.net <http://www.essentialebizsolutions.net> >>>> >>>> ** Disclaimer ** : This email and its attachments may be confidential >>>> and are intended solely for the use of the individual to whom it is >>>> addressed. Any views or opinions expressed are solely those of the author >>>> and do not necessarily represent those of Essential eBiz Solutions Ltd. If >>>> you are not the intended recipient of this email and its attachments then >>>> please contact the sender and do not use or forward this e-mail to anyone. >>>> >>>> Essential eBiz Solutions Ltd, Registered in England and Wales Company >>>> Registration No: 57200784. Registered Office: 6, Gibson Place , Meir, >>>> Stoke-on-Trent, Staffordshire , ST3 5PQ . >>>> >>>> Please consider the environmental impact of printing this e-mail. >>>> >>>> CONFIDENTIAL: This email is intended for and confidential to the named >>>> recipient. If you have received a copy in error, please accept our >>>> apologies >>>> and destroy it. You may not use or disclose the contents of this e-mail to >>>> anyone, nor take copies of it. The only copies permitted are to be made by >>>> the named recipient and for the purpose of completing successful electronic >>>> transmission to the named recipient and then only on condition that these >>>> copies, with this notice attached, are kept confidential until destruction >>>> >>>> Hosting Plans <http://www.krystal.co.uk/aff/aff.php?id=135_1> >>>> >>>> >>>> ******************************************************************* >>>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm >>>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm >>>> Help: [EMAIL PROTECTED] >>>> ******************************************************************* >>>> >>> >>> >>> ******************************************************************* >>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm >>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm >>> Help: [EMAIL PROTECTED] >>> ******************************************************************* >>> >>> >>> >>> >> >> >> ******************************************************************* >> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm >> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm >> Help: [EMAIL PROTECTED] >> ******************************************************************* >> >> > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* > > -- • graphiceyedea.co.uk • eyedea.eu • eyelearn.org • -- ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************