<?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: Captcha &#8211; in 5 lines of php :)</title>
	<atom:link href="http://www.nodstrum.com/2007/09/23/captcha/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nodstrum.com/2007/09/23/captcha/</link>
	<description>A coders playground.</description>
	<lastBuildDate>Wed, 10 Mar 2010 01:32:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sithum</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-25697</link>
		<dc:creator>Sithum</dc:creator>
		<pubDate>Wed, 09 Sep 2009 17:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-25697</guid>
		<description>Hi,
Your class is great!. I tried to integrate this to my page. But i couldn&#039;t.

Error :

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\dbtest\captcha.php:209) in C:\xampp\htdocs\dbtest\captcha.php on line 160

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\dbtest\captcha.php:209) in C:\xampp\htdocs\dbtest\captcha.php on line 79
Unable to set the cookie - Cookies must be enabled to use this form.

Please help.
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Your class is great!. I tried to integrate this to my page. But i couldn&#8217;t.</p>
<p>Error :</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at C:\xampp\htdocs\dbtest\captcha.php:209) in C:\xampp\htdocs\dbtest\captcha.php on line 160</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at C:\xampp\htdocs\dbtest\captcha.php:209) in C:\xampp\htdocs\dbtest\captcha.php on line 79<br />
Unable to set the cookie &#8211; Cookies must be enabled to use this form.</p>
<p>Please help.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rune</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-15296</link>
		<dc:creator>rune</dc:creator>
		<pubDate>Wed, 08 Apr 2009 13:05:32 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-15296</guid>
		<description>picture not showing. everything else works. my path is wrong? help pls :)</description>
		<content:encoded><![CDATA[<p>picture not showing. everything else works. my path is wrong? help pls <img src='http://www.nodstrum.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eren Kesdi</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-14726</link>
		<dc:creator>Eren Kesdi</dc:creator>
		<pubDate>Mon, 23 Mar 2009 16:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-14726</guid>
		<description>Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /home/.fuse/sebstence/olympics.theletterate.com/captcha.class.php on line 123

Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /home/.fuse/sebstence/olympics.theletterate.com/captcha.class.php on line 123
__________________________________________
Answer :
Fix it easily by changing your compression variable of imagepng, imagegif or imagejpg/imagejpeg into a 1-10 ranged number - instead of the PHP 4 1-100 standard. 

find  
$saveImage = imagepng($image, $imageFilename, 100);

replace 
$saveImage = imagepng($image, $imageFilename, 5);</description>
		<content:encoded><![CDATA[<p>Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /home/.fuse/sebstence/olympics.theletterate.com/captcha.class.php on line 123</p>
<p>Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /home/.fuse/sebstence/olympics.theletterate.com/captcha.class.php on line 123<br />
__________________________________________<br />
Answer :<br />
Fix it easily by changing your compression variable of imagepng, imagegif or imagejpg/imagejpeg into a 1-10 ranged number &#8211; instead of the PHP 4 1-100 standard. </p>
<p>find<br />
$saveImage = imagepng($image, $imageFilename, 100);</p>
<p>replace<br />
$saveImage = imagepng($image, $imageFilename, 5);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-12521</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Mon, 05 Jan 2009 15:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-12521</guid>
		<description>i have a problem, the captcha work ok on mozilla, but in Internet explorer 6.0 is never validates....

i mean,  on IE6  $verify=0 ....


somebody know why??????

help!!!</description>
		<content:encoded><![CDATA[<p>i have a problem, the captcha work ok on mozilla, but in Internet explorer 6.0 is never validates&#8230;.</p>
<p>i mean,  on IE6  $verify=0 &#8230;.</p>
<p>somebody know why??????</p>
<p>help!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blabub</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-1519</link>
		<dc:creator>blabub</dc:creator>
		<pubDate>Wed, 09 Jul 2008 11:48:14 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-1519</guid>
		<description>Who ever write this lib, learn one thing.
Never, never, never delete the content of a directory when you have no idea what can be in this directory!
In this example the imagedirectory, you wiped my whole htdocs with that shit.
It\&#039;s so hard to check if there are other files in the temp dir?


Long lives backupping!</description>
		<content:encoded><![CDATA[<p>Who ever write this lib, learn one thing.<br />
Never, never, never delete the content of a directory when you have no idea what can be in this directory!<br />
In this example the imagedirectory, you wiped my whole htdocs with that shit.<br />
It\&#8217;s so hard to check if there are other files in the temp dir?</p>
<p>Long lives backupping!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sangeeta</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-1088</link>
		<dc:creator>Sangeeta</dc:creator>
		<pubDate>Sat, 17 May 2008 05:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-1088</guid>
		<description>can you help out with this error which I got after adding the code: 

Warning: opendir(/path/to/your/captchaImages/directory) [function.opendir]: failed to open dir: Invalid argument in C:\Program Files\xampp\htdocs\Clients\captchatest\captcha.class.php on line 161

Warning: imagepng() [function.imagepng]: Unable to open &#039;/path/to/your/captchaImages/directory/CAPTCHA_1211001275_20_2456.png&#039; for writing in C:\Program Files\xampp\htdocs\Clients\captchatest\captcha.class.php on line 123
There was an error generating the Captcha - Check your directory path and permissions.</description>
		<content:encoded><![CDATA[<p>can you help out with this error which I got after adding the code: </p>
<p>Warning: opendir(/path/to/your/captchaImages/directory) [function.opendir]: failed to open dir: Invalid argument in C:\Program Files\xampp\htdocs\Clients\captchatest\captcha.class.php on line 161</p>
<p>Warning: imagepng() [function.imagepng]: Unable to open &#8216;/path/to/your/captchaImages/directory/CAPTCHA_1211001275_20_2456.png&#8217; for writing in C:\Program Files\xampp\htdocs\Clients\captchatest\captcha.class.php on line 123<br />
There was an error generating the Captcha &#8211; Check your directory path and permissions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sebben</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-794</link>
		<dc:creator>sebben</dc:creator>
		<pubDate>Mon, 24 Mar 2008 12:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-794</guid>
		<description>I’m getting this error
Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /home/.fuse/sebstence/olympics.theletterate.com/captcha.class.php on line 123

Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /home/.fuse/sebstence/olympics.theletterate.com/captcha.class.php on line 123

I have GD installed... am I missing something?
If you would like to have a look.
http://olympics.theletterate.com/upload.php
thanks for your help.</description>
		<content:encoded><![CDATA[<p>I’m getting this error<br />
Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /home/.fuse/sebstence/olympics.theletterate.com/captcha.class.php on line 123</p>
<p>Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /home/.fuse/sebstence/olympics.theletterate.com/captcha.class.php on line 123</p>
<p>I have GD installed&#8230; am I missing something?<br />
If you would like to have a look.<br />
<a href="http://olympics.theletterate.com/upload.php" rel="nofollow">http://olympics.theletterate.com/upload.php</a><br />
thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niyaz PK</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-463</link>
		<dc:creator>Niyaz PK</dc:creator>
		<pubDate>Wed, 24 Oct 2007 09:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-463</guid>
		<description>You cannot use CAPTCHA also too reliably.
Read my article</description>
		<content:encoded><![CDATA[<p>You cannot use CAPTCHA also too reliably.<br />
Read my article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moo</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-438</link>
		<dc:creator>Moo</dc:creator>
		<pubDate>Thu, 11 Oct 2007 19:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-438</guid>
		<description>I can spot a few bad things in the code:

- colors are static
- string is positioned in a horizontal line
- word is stored in a cookie which is client-side

Nice try, but not safe.</description>
		<content:encoded><![CDATA[<p>I can spot a few bad things in the code:</p>
<p>- colors are static<br />
- string is positioned in a horizontal line<br />
- word is stored in a cookie which is client-side</p>
<p>Nice try, but not safe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan</title>
		<link>http://www.nodstrum.com/2007/09/23/captcha/comment-page-1/#comment-429</link>
		<dc:creator>Duncan</dc:creator>
		<pubDate>Thu, 04 Oct 2007 03:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2007/09/23/captcha/#comment-429</guid>
		<description>This is a great tool. I&#039;ve got it working perfectly but it runs into problems verifying the input. I suspect its because the form is posting to itself - if it finds a form field it validates the data using an external PHP file. If there are no problems it redirects to the script that adds it to the database. How would I implement this captcha using this system?
Thanks in advance</description>
		<content:encoded><![CDATA[<p>This is a great tool. I&#8217;ve got it working perfectly but it runs into problems verifying the input. I suspect its because the form is posting to itself &#8211; if it finds a form field it validates the data using an external PHP file. If there are no problems it redirects to the script that adds it to the database. How would I implement this captcha using this system?<br />
Thanks in advance</p>
]]></content:encoded>
	</item>
</channel>
</rss>
