<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating a PHP Captcha</title>
	<atom:link href="http://www.ebrueggeman.com/blog/creating-a-php-captcha/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ebrueggeman.com/blog/creating-a-php-captcha/</link>
	<description>Tips and Tricks for Web Developers</description>
	<lastBuildDate>Tue, 09 Mar 2010 09:21:30 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: gordo</title>
		<link>http://www.ebrueggeman.com/blog/creating-a-php-captcha/comment-page-1/#comment-285</link>
		<dc:creator>gordo</dc:creator>
		<pubDate>Sat, 05 Dec 2009 01:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ebrueggeman.com/blog/php/creating-a-php-captcha/#comment-285</guid>
		<description>I forgot to mention, other than the two isses above, this is a good script</description>
		<content:encoded><![CDATA[<p>I forgot to mention, other than the two isses above, this is a good script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gordo</title>
		<link>http://www.ebrueggeman.com/blog/creating-a-php-captcha/comment-page-1/#comment-284</link>
		<dc:creator>gordo</dc:creator>
		<pubDate>Sat, 05 Dec 2009 01:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ebrueggeman.com/blog/php/creating-a-php-captcha/#comment-284</guid>
		<description>There are two errors in this script. The first is $_POST[&#039;user_captcha_input&#039;] should be $_POST[&#039;captcha_input&#039;] to match the form field.

The second is with case. If you enter the letters in lowercase you will get an error. Simply change
if($_SESSION[&#039;encoded_captcha&#039;] == md5($user_captcha_input))
to
if($_SESSION[&#039;encoded_captcha&#039;] == md5(strtoupper($user_captcha_input)))</description>
		<content:encoded><![CDATA[<p>There are two errors in this script. The first is $_POST['user_captcha_input'] should be $_POST['captcha_input'] to match the form field.</p>
<p>The second is with case. If you enter the letters in lowercase you will get an error. Simply change<br />
if($_SESSION['encoded_captcha'] == md5($user_captcha_input))<br />
to<br />
if($_SESSION['encoded_captcha'] == md5(strtoupper($user_captcha_input)))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert</title>
		<link>http://www.ebrueggeman.com/blog/creating-a-php-captcha/comment-page-1/#comment-276</link>
		<dc:creator>robert</dc:creator>
		<pubDate>Fri, 07 Aug 2009 20:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.ebrueggeman.com/blog/php/creating-a-php-captcha/#comment-276</guid>
		<description>I managed to make it work.
My problems were in the path to the captcha.php file and the font ( after i uploaded a font to the server it worked ).</description>
		<content:encoded><![CDATA[<p>I managed to make it work.<br />
My problems were in the path to the captcha.php file and the font ( after i uploaded a font to the server it worked ).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: F H</title>
		<link>http://www.ebrueggeman.com/blog/creating-a-php-captcha/comment-page-1/#comment-272</link>
		<dc:creator>F H</dc:creator>
		<pubDate>Fri, 24 Jul 2009 20:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.ebrueggeman.com/blog/php/creating-a-php-captcha/#comment-272</guid>
		<description>I think there is confusion over where to place the code in the form. I can get it to give an error no matter what is entered. Guess I&#039;ll keep looking.</description>
		<content:encoded><![CDATA[<p>I think there is confusion over where to place the code in the form. I can get it to give an error no matter what is entered. Guess I&#8217;ll keep looking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.ebrueggeman.com/blog/creating-a-php-captcha/comment-page-1/#comment-136</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Sat, 17 Jan 2009 02:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ebrueggeman.com/blog/php/creating-a-php-captcha/#comment-136</guid>
		<description>I tried to use Captcha for my guestbook but I coul never get it to post.  When I would click on submit and the everything was good it would not post to the database. I also used some error checking for required fields.  I finally gave up and put a math test in place.  Maybe I did it wrong.</description>
		<content:encoded><![CDATA[<p>I tried to use Captcha for my guestbook but I coul never get it to post.  When I would click on submit and the everything was good it would not post to the database. I also used some error checking for required fields.  I finally gave up and put a math test in place.  Maybe I did it wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP and Web Development Blog&#187; Blog Archive &#187; Creating an Advanced PHP Captcha</title>
		<link>http://www.ebrueggeman.com/blog/creating-a-php-captcha/comment-page-1/#comment-16</link>
		<dc:creator>PHP and Web Development Blog&#187; Blog Archive &#187; Creating an Advanced PHP Captcha</dc:creator>
		<pubDate>Thu, 15 May 2008 19:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ebrueggeman.com/blog/php/creating-a-php-captcha/#comment-16</guid>
		<description>[...] November, I published a post on creating a simple PHP Captcha. Some readers noted that I actually used a more advanced captcha for my own site&#8217;s discussion [...]</description>
		<content:encoded><![CDATA[<p>[...] November, I published a post on creating a simple PHP Captcha. Some readers noted that I actually used a more advanced captcha for my own site&#8217;s discussion [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sroberts</title>
		<link>http://www.ebrueggeman.com/blog/creating-a-php-captcha/comment-page-1/#comment-6</link>
		<dc:creator>sroberts</dc:creator>
		<pubDate>Fri, 14 Dec 2007 15:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ebrueggeman.com/blog/php/creating-a-php-captcha/#comment-6</guid>
		<description>This worked for me -  of course the form can be submitted, the error handling we are doing in the above example happens on the page the form is submitted to. This submission landing page is where the error is displayed. You can do a little fancy work and submit the form to itself, and if there is an error, show the same submission form with an error message, or display something else entirely if there isn&#039;t an error.</description>
		<content:encoded><![CDATA[<p>This worked for me &#8211;  of course the form can be submitted, the error handling we are doing in the above example happens on the page the form is submitted to. This submission landing page is where the error is displayed. You can do a little fancy work and submit the form to itself, and if there is an error, show the same submission form with an error message, or display something else entirely if there isn&#8217;t an error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xcuse me</title>
		<link>http://www.ebrueggeman.com/blog/creating-a-php-captcha/comment-page-1/#comment-5</link>
		<dc:creator>xcuse me</dc:creator>
		<pubDate>Thu, 13 Dec 2007 19:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ebrueggeman.com/blog/php/creating-a-php-captcha/#comment-5</guid>
		<description>this captcha validator does not work.
the form code works, the random char. are generated, but, the form can be submitted without user entering the characters.</description>
		<content:encoded><![CDATA[<p>this captcha validator does not work.<br />
the form code works, the random char. are generated, but, the form can be submitted without user entering the characters.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
