<?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 CAPTCHA in PHP with GD</title>
	<atom:link href="http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/</link>
	<description>Web development blog from UltraMega Tech.</description>
	<lastBuildDate>Wed, 10 Mar 2010 19:09:15 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve</title>
		<link>http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/comment-page-1/#comment-1133</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=139#comment-1133</guid>
		<description>The file that generates the image must be in a separate file from everything else. It is included as an image in your form HTML markup. So you should have at least 2 PHP files.</description>
		<content:encoded><![CDATA[<p>The file that generates the image must be in a separate file from everything else. It is included as an image in your form HTML markup. So you should have at least 2 PHP files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ron</title>
		<link>http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/comment-page-1/#comment-1132</link>
		<dc:creator>ron</dc:creator>
		<pubDate>Sun, 07 Feb 2010 17:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=139#comment-1132</guid>
		<description>hi

first,thanks for this tutorial. i have one problem: the captcha is generated and re-generated on each page refresh, which is good.
but the form refuse to appear on the browser. i have puted all the code on the same file, am i right?

what am i missing here?

hope for help:)</description>
		<content:encoded><![CDATA[<p>hi</p>
<p>first,thanks for this tutorial. i have one problem: the captcha is generated and re-generated on each page refresh, which is good.<br />
but the form refuse to appear on the browser. i have puted all the code on the same file, am i right?</p>
<p>what am i missing here?</p>
<p>hope for help:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/comment-page-1/#comment-1114</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 12 Jan 2010 01:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=139#comment-1114</guid>
		<description>Make sure there is no text before &lt;?php in the beginning of captcha.php. This includes any whitespace.</description>
		<content:encoded><![CDATA[<p>Make sure there is no text before &lt;?php in the beginning of captcha.php. This includes any whitespace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beau</title>
		<link>http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/comment-page-1/#comment-1113</link>
		<dc:creator>beau</dc:creator>
		<pubDate>Tue, 12 Jan 2010 01:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=139#comment-1113</guid>
		<description>BTW gd is enabled and the ttf is uploaded.</description>
		<content:encoded><![CDATA[<p>BTW gd is enabled and the ttf is uploaded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beau</title>
		<link>http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/comment-page-1/#comment-1112</link>
		<dc:creator>beau</dc:creator>
		<pubDate>Tue, 12 Jan 2010 01:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=139#comment-1112</guid>
		<description>Here is the error I am getting. I can&#039;t get the captcha to appear. I only see alt text and a broken image.


Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/emsmcs/public_html/captcha.php:2) in /home/emsmcs/public_html/captcha.php on line 4

Warning: Cannot modify header information - headers already sent by (output started at /home/emsmcs/public_html/captcha.php:2) in /home/emsmcs/public_html/captcha.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at /home/emsmcs/public_html/captcha.php:2) in /home/emsmcs/public_html/captcha.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home/emsmcs/public_html/captcha.php:2) in /home/emsmcs/public_html/captcha.php on line 62</description>
		<content:encoded><![CDATA[<p>Here is the error I am getting. I can&#8217;t get the captcha to appear. I only see alt text and a broken image.</p>
<p>Warning: session_start() [function.session-start]: Cannot send session cache limiter &#8211; headers already sent (output started at /home/emsmcs/public_html/captcha.php:2) in /home/emsmcs/public_html/captcha.php on line 4</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /home/emsmcs/public_html/captcha.php:2) in /home/emsmcs/public_html/captcha.php on line 58</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /home/emsmcs/public_html/captcha.php:2) in /home/emsmcs/public_html/captcha.php on line 59</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /home/emsmcs/public_html/captcha.php:2) in /home/emsmcs/public_html/captcha.php on line 62</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anna</title>
		<link>http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/comment-page-1/#comment-50</link>
		<dc:creator>anna</dc:creator>
		<pubDate>Tue, 23 Jun 2009 04:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=139#comment-50</guid>
		<description>the problem is in this:

line 42, 43

// &quot;arial.ttf&quot; can be replaced by any TTF font file stored in the same directory as the script
   imagettftext($image, mt_rand(14, 18), $angle, ($i * 18)-8, mt_rand(20, 25), $text, &quot;arial.ttf&quot;, substr($code, ($i - 1), 1));
}
 
replace arial.ttf with .ttf file you have and it will work :)</description>
		<content:encoded><![CDATA[<p>the problem is in this:</p>
<p>line 42, 43</p>
<p>// &#8220;arial.ttf&#8221; can be replaced by any TTF font file stored in the same directory as the script<br />
   imagettftext($image, mt_rand(14, 18), $angle, ($i * 18)-8, mt_rand(20, 25), $text, &#8220;arial.ttf&#8221;, substr($code, ($i &#8211; 1), 1));<br />
}</p>
<p>replace arial.ttf with .ttf file you have and it will work <img src='http://www.ultramegatech.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UltraMega</title>
		<link>http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/comment-page-1/#comment-31</link>
		<dc:creator>UltraMega</dc:creator>
		<pubDate>Sun, 05 Apr 2009 17:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=139#comment-31</guid>
		<description>Do the examples on this website work for you? What happens when you browse directly to captcha.php? Are there any errors displayed? If it&#039;s blank, there may be errors logged somewhere that will help find the problem.</description>
		<content:encoded><![CDATA[<p>Do the examples on this website work for you? What happens when you browse directly to captcha.php? Are there any errors displayed? If it&#8217;s blank, there may be errors logged somewhere that will help find the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kcrazy</title>
		<link>http://www.ultramegatech.com/blog/2008/12/creating-a-captcha-php/comment-page-1/#comment-30</link>
		<dc:creator>kcrazy</dc:creator>
		<pubDate>Sun, 05 Apr 2009 11:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=139#comment-30</guid>
		<description>i copied both files in the same directory but the image doesn&#039;t show up. Only the alt text and the broken image logo is shown. btw, GD is enabled. what could be the problem? Help needed !</description>
		<content:encoded><![CDATA[<p>i copied both files in the same directory but the image doesn&#8217;t show up. Only the alt text and the broken image logo is shown. btw, GD is enabled. what could be the problem? Help needed !</p>
]]></content:encoded>
	</item>
</channel>
</rss>
