<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WorldofCode.com &#187; Classic ASP</title>
	<atom:link href="http://www.worldofcode.com/category/coding/classic-asp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.worldofcode.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 05 Jan 2011 01:32:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>reCAPTCHA Classic ASP Implementation</title>
		<link>http://www.worldofcode.com/recaptcha-classic-asp-implementation/</link>
		<comments>http://www.worldofcode.com/recaptcha-classic-asp-implementation/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 22:21:04 +0000</pubDate>
		<dc:creator>WorldofCode</dc:creator>
				<category><![CDATA[Classic ASP]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.worldofcode.com/recaptcha-classic-asp-implementation/</guid>
		<description><![CDATA[Recently had to work with a new CAPTCHA program called reCAPTCHA.  It was fairly easy to implement with Classic ASP code but had some problems figuring out some parts of it. First off what is CAPTCHA?  It stands for Completely Automated Public Turing test to tell Computers and Humans Apart.  CAPTCHA is basically an image [...]]]></description>
			<content:encoded><![CDATA[<p><br />
Recently had to work with a new CAPTCHA program called <a href="http://recaptcha.net/" target="_blank">reCAPTCHA</a>.  It was fairly easy to implement with Classic ASP co<img src="http://www.worldofcode.com/wp-content/uploads/image/CAPTCHA_WorldofCode.jpg" border="0" alt="CAPTCHA - World of Code" hspace="5" vspace="5" width="200" height="100" align="right" />de but had some problems figuring out some parts of it.</p>
<p>First off what is CAPTCHA?  It stands for <strong>C</strong>ompletely <strong>A</strong>utomated <strong>P</strong>ublic <strong>T</strong>uring test to tell <strong>C</strong>omputers and <strong>H</strong>umans <strong>A</strong>part.  CAPTCHA is basically an image of letters and numbers that is randomly generated.  The image makes it difficult for spam bots to read.  So they can be used as a way to verify if a computer is submitting a form on a website or an actual person.  So we can eliminate all of that pesky spam!</p>
<p>The <a href="http://recaptcha.net/" target="_blank">reCAPTCHA</a> software is free to use and also helps digitize books when it is being used.  Check out their site for more information on that.</p>
<p>I needed to implement this software on a site that runs Classic ASP.  They did not have a specific example on how to do this but I was able to find an example done from a very kind person Andre F. Bruton on the discussion boards.  <a href="http://www.andrebruton.com/recaptcha/" target="_blank">Click here to go and view the example</a>.</p>
<p><span style="color: #ff0000;">Update it appears that the above site has gone down so here is a link to the example that was offered by that site.</span></p>
<p><a href="http://www.worldofcode.com/wp-content/uploads/2008/04/recaptcha_classic_asp.zip">Download the example.</a></p>
<p>The example worked great I just had to insert the code into my pages and I was off and running in no time.  However on a few of the pages I was running them in SSL which when using the reCAPTCHA software on those page brought up some secure errors.  Through searching around the internet and trying various things I found out that reCAPTCHA has a secure server to send to so you will no longer get the security errors.  That URL is <a href="https://api-secure.recaptcha.net">https://api-secure.recaptcha.net</a>. </p>
<p>Here is an example of where you need to put it in your code.</p>
<blockquote><p>function recaptcha_challenge_writer(publickey)<br />
recaptcha_challenge_writer = &#8220;&lt;script type=&#8221;"text/javascript&#8221;"&gt;&#8221; &amp; _<br />
&#8220;var RecaptchaOptions = {&#8221; &amp; _<br />
&#8221; theme : &#8216;white&#8217;,&#8221; &amp; _<br />
&#8221; tabindex : 0&#8243; &amp; _<br />
&#8220;};&#8221; &amp; _<br />
&#8220;&lt;/script&gt;&#8221; &amp; _<br />
&#8220;&lt;script type=&#8221;"text/javascript&#8221;" src=&#8221;"https://api-secure.recaptcha.net/challenge?k=&#8221; &amp; publickey &amp; &#8220;&#8221;"&gt;&lt;/script&gt;&#8221; &amp; _<br />
&#8220;&lt;noscript&gt;&#8221; &amp; _<br />
&#8220;&lt;iframe src=&#8221;"http://api.recaptcha.net/noscript?k=&#8221; &amp; publickey &amp; &#8220;&#8221;" frameborder=&#8221;"1&#8243;&#8221;&gt;&lt;/iframe&gt;&lt;br&gt;&#8221; &amp; _<br />
&#8220;&lt;textarea name=&#8221;"recaptcha_challenge_field&#8221;" rows=&#8221;"3&#8243;&#8221; cols=&#8221;"40&#8243;&#8221;&gt;&lt;/textarea&gt;&#8221; &amp; _<br />
&#8220;&lt;input type=&#8221;"hidden&#8221;" name=&#8221;"recaptcha_response_field&#8221;" value=&#8221;"manual_challenge&#8221;"&gt;&#8221; &amp; _<br />
&#8220;&lt;/noscript&gt;&#8221;<br />
end function</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.worldofcode.com/recaptcha-classic-asp-implementation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

