<?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"
	>
<channel>
	<title>Comments for lorz's blog</title>
	<atom:link href="http://www.lorzz.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lorzz.com</link>
	<description>blog • programming • web design • tutorials • seo</description>
	<pubDate>Thu, 20 Nov 2008 16:34:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on How to make your own CAPTCHA system by Lewis</title>
		<link>http://www.lorzz.com/2008/06/25/make-your-own-captcha-system/#comment-93</link>
		<dc:creator>Lewis</dc:creator>
		<pubDate>Sat, 13 Sep 2008 15:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=6#comment-93</guid>
		<description>How would I make the form which would include the CAPTCHA verification, plus a login?</description>
		<content:encoded><![CDATA[<p>How would I make the form which would include the CAPTCHA verification, plus a login?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to make your own CAPTCHA system by Todd</title>
		<link>http://www.lorzz.com/2008/06/25/make-your-own-captcha-system/#comment-67</link>
		<dc:creator>Todd</dc:creator>
		<pubDate>Wed, 03 Sep 2008 12:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=6#comment-67</guid>
		<description>Here is a simpler version for those also having trouble getting the above to work.

it uses a shadow text to help block OCR bots. Perhaps not as fancy as the above but hey it works.

--------------------------------------

&#60;?php
session_start();


header("Content-type: image/png");
$yellow = imagecolorallocatealpha($image, 255, 255, 0, 75);
$captcha_characters = 'ABCDEFGHJKLMNPRSTUVWXY3456789';
$im = @imagecreate(230, 70)
    or die("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate($im, 0, 0, 0);
$text_color = imagecolorallocatealpha($im, 255, 255, 0, 0);

for($i = 0; $i 

-----------------------------

again simply save as "captcha.php" or whatever you like .php then insert into your form  and use the same test in your form handling page to test if the correct code was used..

-----------------------------

if ($_POST['{captcha_field}'] == $_SESSION[$captcha]) {
// code if OK
} else {
// code if WRONG
}

-----------------------------

Hope this helps those that had problems with the above, if you want to make it more difficult you can if you know what you are doing.

I couldn't get the top script to work on my server so I did my own research using &lt;a href="http://au.php.net" rel="nofollow"&gt;PHP.net&lt;/a&gt; and got my fonts from &lt;a href="http://www.dafont.com/" rel="nofollow"&gt;dafont.com&lt;/a&gt;.

Hope it works for you people....</description>
		<content:encoded><![CDATA[<p>Here is a simpler version for those also having trouble getting the above to work.</p>
<p>it uses a shadow text to help block OCR bots. Perhaps not as fancy as the above but hey it works.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>&lt;?php<br />
session_start();</p>
<p>header(&#8221;Content-type: image/png&#8221;);<br />
$yellow = imagecolorallocatealpha($image, 255, 255, 0, 75);<br />
$captcha_characters = &#8216;ABCDEFGHJKLMNPRSTUVWXY3456789&#8242;;<br />
$im = @imagecreate(230, 70)<br />
    or die(&#8221;Cannot Initialize new GD image stream&#8221;);<br />
$background_color = imagecolorallocate($im, 0, 0, 0);<br />
$text_color = imagecolorallocatealpha($im, 255, 255, 0, 0);</p>
<p>for($i = 0; $i </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>again simply save as &#8220;captcha.php&#8221; or whatever you like .php then insert into your form  and use the same test in your form handling page to test if the correct code was used..</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>if ($_POST['{captcha_field}'] == $_SESSION[$captcha]) {<br />
// code if OK<br />
} else {<br />
// code if WRONG<br />
}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Hope this helps those that had problems with the above, if you want to make it more difficult you can if you know what you are doing.</p>
<p>I couldn&#8217;t get the top script to work on my server so I did my own research using <a href="http://au.php.net" rel="nofollow">PHP.net</a> and got my fonts from <a href="http://www.dafont.com/" rel="nofollow">dafont.com</a>.</p>
<p>Hope it works for you people&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to make your own CAPTCHA system by Joe</title>
		<link>http://www.lorzz.com/2008/06/25/make-your-own-captcha-system/#comment-22</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 07 Aug 2008 14:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=6#comment-22</guid>
		<description>A few things confused me, so I thought I would pass them on.

1. if you copy/paste this code, you have to replace almost all of single/double quotes, because the ones on this page won't work.  I just did a replace all.

2. to insert the image into your page use an image tag with the src set the captcha.php.

3. If you want to change the background color of the captcha image, just save the 1.png/2.png with that background color.

Good Luck!</description>
		<content:encoded><![CDATA[<p>A few things confused me, so I thought I would pass them on.</p>
<p>1. if you copy/paste this code, you have to replace almost all of single/double quotes, because the ones on this page won&#8217;t work.  I just did a replace all.</p>
<p>2. to insert the image into your page use an image tag with the src set the captcha.php.</p>
<p>3. If you want to change the background color of the captcha image, just save the 1.png/2.png with that background color.</p>
<p>Good Luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to make your own CAPTCHA system by naxeem</title>
		<link>http://www.lorzz.com/2008/06/25/make-your-own-captcha-system/#comment-21</link>
		<dc:creator>naxeem</dc:creator>
		<pubDate>Tue, 05 Aug 2008 13:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=6#comment-21</guid>
		<description>where do you put this code?
&lt;code&gt;
if ($_POST['{captcha_field}'] == $_SESSION['captcha_session']):
// OK
else:
// WRONG
endif;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>where do you put this code?<br />
<code><br />
if ($_POST['{captcha_field}'] == $_SESSION['captcha_session']):<br />
// OK<br />
else:<br />
// WRONG<br />
endif;<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to make your own CAPTCHA system by Maor hazan</title>
		<link>http://www.lorzz.com/2008/06/25/make-your-own-captcha-system/#comment-20</link>
		<dc:creator>Maor hazan</dc:creator>
		<pubDate>Tue, 05 Aug 2008 08:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=6#comment-20</guid>
		<description>Thanks !!!</description>
		<content:encoded><![CDATA[<p>Thanks !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to make your own CAPTCHA system by adi</title>
		<link>http://www.lorzz.com/2008/06/25/make-your-own-captcha-system/#comment-19</link>
		<dc:creator>adi</dc:creator>
		<pubDate>Sun, 03 Aug 2008 15:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=6#comment-19</guid>
		<description>where do you put this code?
if ($_POST['{captcha_field}'] == $_SESSION['captcha_session']):
// OK
else:
// WRONG
endif;</description>
		<content:encoded><![CDATA[<p>where do you put this code?<br />
if ($_POST['{captcha_field}'] == $_SESSION['captcha_session']):<br />
// OK<br />
else:<br />
// WRONG<br />
endif;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatically resize images in PHP - Script tutorial by erypogysterway</title>
		<link>http://www.lorzz.com/2008/07/09/automatically-resize-images-in-php-script-tutorial/#comment-18</link>
		<dc:creator>erypogysterway</dc:creator>
		<pubDate>Sun, 03 Aug 2008 01:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=22#comment-18</guid>
		<description>Thank you</description>
		<content:encoded><![CDATA[<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to make your own CAPTCHA system by amin3d</title>
		<link>http://www.lorzz.com/2008/06/25/make-your-own-captcha-system/#comment-10</link>
		<dc:creator>amin3d</dc:creator>
		<pubDate>Tue, 08 Jul 2008 20:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=6#comment-10</guid>
		<description>great job! Is it possible to translate your tutorial to other language?</description>
		<content:encoded><![CDATA[<p>great job! Is it possible to translate your tutorial to other language?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to make your own CAPTCHA system by Flexsin</title>
		<link>http://www.lorzz.com/2008/06/25/make-your-own-captcha-system/#comment-9</link>
		<dc:creator>Flexsin</dc:creator>
		<pubDate>Mon, 07 Jul 2008 05:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=6#comment-9</guid>
		<description>Many thanks!! I have used this script many times and it works. thanks a lot.

http://www.flexsin.com</description>
		<content:encoded><![CDATA[<p>Many thanks!! I have used this script many times and it works. thanks a lot.</p>
<p><a href="http://www.flexsin.com" rel="nofollow">http://www.flexsin.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on New top-level domains from ICANN by Dale Hay</title>
		<link>http://www.lorzz.com/2008/06/28/new-top-level-domains-from-icann/#comment-7</link>
		<dc:creator>Dale Hay</dc:creator>
		<pubDate>Mon, 30 Jun 2008 20:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lorzz.com/?p=13#comment-7</guid>
		<description>Google might then own .google domains and Amazon with .amazon domains. I wouldn't mind owning a .dale domain, that'd be great!

Also think of all those people who would be buying and selling "premium" extentions, it's going to open up yet another new market.</description>
		<content:encoded><![CDATA[<p>Google might then own .google domains and Amazon with .amazon domains. I wouldn&#8217;t mind owning a .dale domain, that&#8217;d be great!</p>
<p>Also think of all those people who would be buying and selling &#8220;premium&#8221; extentions, it&#8217;s going to open up yet another new market.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
