Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Recaptcha
Last updated at 1:19 am UTC on 12 February 2008
http://recaptcha.net/

*nix example (uses wget to submit form to verification server): "return html to be inserted in a form" ^'<script> var RecaptchaOptions = { them: "white", tabindex : 0} </script> <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=publicKeyGoesHere"> </script>' _ "Verify the request clientIP = the client IP from the request challenge = value of 'recaptcha_challenge_field' in the form response = value of 'recaptcha_response_field' in the form " cmd := 'wget -O- http://api-verify.recaptcha.net/verify --post-data=' , '"privatekey=$k&remoteip=$i&challenge=$c&response=$r"'. cmd := cmd copyReplaceAll: '$k' with: 'privateKeyGoesHere'. cmd := cmd copyReplaceAll: '$i' with: clientIP. cmd := cmd copyReplaceAll: '$c' with: challenge . cmd := cmd copyReplaceAll: '$r' with: response . result := OSProcess thisOSProcess waitForCommandOutput: cmd