reCAPTCHA code

reCAPTCHA helps prevent automated abuse of your site (such as comment spam or bogus registrations) by using a CAPTCHA to ensure that only humans perform certain actions.

numero = 240
interpreted = N
texte =
[!]-----------------------------------------------------Sample code for reCAPTCHA using WebDNA.By Dan Strong - http://www.DanStrong.comFree to use, no strings attached.More info about WebDNA: http://www.webdna.us-----------------------------------------------------[/!][!]-- This code is for your form --[/!]    [text]yourPublicKey=xxxxxxx_GET-A-PUBLIC-KEY-FROM-reCAPTCHA_xxxxxxx[/text]         <script type="text/javascript"        src="https://api-secure.recaptcha.net/challenge?k=[yourPublicKey]">     </script>     <noscript>        <iframe src="https://api-secure.recaptcha.net/noscript?k=[yourPublicKey]"            height="300" width="500" frameborder="0"></iframe><br />        <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>        <input type="hidden" name="recaptcha_response_field" value="manual_challenge">     </noscript>    [!]-- This code is for your form landing page --------------------------------------------------    //URL: http://api-verify.recaptcha.net/verify    //privatekey (required): Your private key    //remoteip (required): The IP address of the user who solved the CAPTCHA.    //challenge (required): The value of "recaptcha_challenge_field" sent via the form    //response (required): The value of "recaptcha_response_field" sent via the form    //reCaptcha_server-response - Will be either TRUE or FALSE. FALSE will include a reason.---------------------------------------------------------------------------------------------[/!]            [text]privatekey=xxxxxxx_GET-A-PRIVATE-KEY-FROM-reCAPTCHA_xxxxxxx[/text]    [text]remoteip=[listWords words=[ipaddress]&delimiters=.][math][word][/math][hideif [index]>3].[/hideif][/listWords][/text]    [text]challenge=[formVariables][showif [url][name][/url]=[url]recaptcha_challenge_field[/url]][value][/showif][/formVariables][/text]    [text]response=[formVariables][showif [url][name][/url]=[url]recaptcha_response_field[/url]][value][/showif][/formVariables][/text]                [text]content=[!]    [/!]privatekey=[privatekey]&remoteip=[remoteip]&challenge=[challenge]&response=[response][/text]            [text]reCaptcha_server-response=[!]    [/!][TCPconnect host=api-verify.recaptcha.net][!]    [/!][TCPsend skipheader=T]POST /verify HTTP/1.0[unURL]%0D%0A[/unURL][!]    [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[unURL]%0D%0A[/unURL][!]    [/!]Host: api-verify.recaptcha.net[UnURL]%0D%0A[/UnURL][!]    [/!]Content-Type: application/x-www-form-urlencoded[unURL]%0D%0A[/unURL][!]    [/!]Content-Length: [countChars][content][/countChars][unURL]%0D%0A[/unURL][!]    [/!][unURL]%0D%0A[/unURL][!]    [/!][content][unURL]%0D%0A[/unURL][!]    [/!][/TCPSend][!]    [/!][/TCPconnect][/text]                [showif [reCaptcha_server-response]^false]        [redirect [referrer]?error=wrongCaptcha]    [/showif]

[!]-----------------------------------------------------
Sample code for reCAPTCHA using WebDNA.
By Dan Strong - http://www.DanStrong.com
Free to use, no strings attached.
More info about WebDNA: http://www.webdna.us
-----------------------------------------------------[/!]

[!]-- This code is for your form --[/!]
[text]yourPublicKey=xxxxxxx_GET-A-PUBLIC-KEY-FROM-reCAPTCHA_xxxxxxx[/text]

<script type="text/javascript"
src="https://api-secure.recaptcha.net/challenge?k=[yourPublicKey]">
</script>
<noscript>
<iframe src="https://api-secure.recaptcha.net/noscript?k=[yourPublicKey]"
height="300" width="500" frameborder="0"></iframe><br />
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge">
</noscript>

[!]-- This code is for your form landing page --------------------------------------------------
//URL: http://api-verify.recaptcha.net/verify
//privatekey (required): Your private key
//remoteip (required): The IP address of the user who solved the CAPTCHA.
//challenge (required): The value of "recaptcha_challenge_field" sent via the form
//response (required): The value of "recaptcha_response_field" sent via the form
//reCaptcha_server-response - Will be either TRUE or FALSE. FALSE will include a reason.
---------------------------------------------------------------------------------------------[/!]

[text]privatekey=xxxxxxx_GET-A-PRIVATE-KEY-FROM-reCAPTCHA_xxxxxxx[/text]
[text]remoteip=[listWords words=[ipaddress]&delimiters=.][math][word][/math][hideif [index]>3].[/hideif][/listWords][/text]
[text]challenge=[formvariables][showif [url][name][/url]=[url]recaptcha_challenge_field[/url]][value][/showif][/formVariables][/text]
[text]response=[formvariables][showif [url][name][/url]=[url]recaptcha_response_field[/url]][value][/showif][/formVariables][/text]

[text]content=[!]
[/!]privatekey=[privatekey]&remoteip=[remoteip]&challenge=[challenge]&response=[response][/text]

[text]reCaptcha_server-response=[!]
[/!][TCPconnect host=api-verify.recaptcha.net][!]
[/!][TCPsend skipheader=T]POST /verify HTTP/1.0[unurl]%0D%0A[/unURL][!]
[/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[unurl]%0D%0A[/unURL][!]
[/!]Host: api-verify.recaptcha.net[unurl]%0D%0A[/UnURL][!]
[/!]Content-Type: application/x-www-form-urlencoded[unurl]%0D%0A[/unURL][!]
[/!]Content-Length: [countchars][content][/countChars][unurl]%0D%0A[/unURL][!]
[/!][unurl]%0D%0A[/unURL][!]
[/!][content][unurl]%0D%0A[/unURL][!]
[/!][/TCPSend][!]
[/!][/TCPconnect][/text]

[showif [reCaptcha_server-response]^false]
[redirect [referrer]?error=wrongCaptcha]
[/showif]

Dan Strong

DOWNLOAD WEBDNA NOW!

Top Articles:

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

WebDNA Libraries

A list of available libraries for WebDNA...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

F.A.Q

A compilation of some user's questions...

WebDNA Modules

A list of the currently available modules...

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

Paypal IPN

...

Annoying character on writefile

How do I get rid of or convert the line feed character during a writefile?...

Do you hate updating the copyright notice at the bottom of all your pages?

It's January 1st and you have to update the copyright notice at the bottom of all your websites...

How to keep the text variable after a function has finished

By default...

Export data to Excel

Here's a handy way to export your data to a text or Excel file...

Hideif on IP range

This will show or hide stuff according to the IP...