Forum OpenACS Q&A: Re: Captchas for the register form

Collapse
Posted by Atif Ali on
HI ,

I have been trying to compile tclmagick on my linux macheins, but it always fails .

Since you have gone thru the whole cycle can you please help me understanding these ;
1) On the tclmagick site it says that it will work with pure tcl , tk is not required , but i can not compile it without tk. unfortunatley when i try to install tk it requires certain X libraries which i dont have on the server .
2) can you tell me what X libraries do i need to compile tclmagick ?
3) I installed graphicsmagick and tried to compile tclmagick against it , but it again gave me errors about tk and I get Xlib.h not found when i try to compile tclmagick.

on this post i think you mentioned pagna simple compiled tcl magick , what do i need to use it ? do i need imagemagick installed in a certain folder ? as when i tried to run ./compile in the folder of tclmagik -simple it gave me errors.

I have been trying to compile tclmagick on my servers , I dont have tk or X11 installed ? can you please help me.

thanks

Collapse
Posted by César Clavería on
Hello,

yes, TclMagick "should" work without Tk installed or X11, but I haven't been able to make it work that way neither.

for using the pragana simple build of Tcl-magick, yes, you will need ImageMagick installed, and its libraries installed in something like /usr/lib/libMagick.so.7

Collapse
12: reCAPTCHA proposal (response to 11)
Posted by Alessandro Landim on
Hi everyone,

What do you think about use reCAPTCHA.net to resolve the Inaccessibility of CAPTCHA?

I've developed a package that use this service and can provide this check in ad_form.

Try to download it at: http://dl.dropbox.com/u/6061429/recaptcha/recaptcha.tar.gz

You need create an account at www.recaptcha.net and get the public and private key. After this, add this keys in /recaptcha/public_key.txt and /recaptcha/private_key.txt.

To use it in ad_form, add this line:

recaptcha::create -form $adform_name

and add a validate in ad_form

-validate {
        {recaptcha_service
                {[recaptcha::check -challenge_field $recaptcha_challenge_field -response_field $recaptcha_response_field]}
                "\"#<span>recaptcha.Title</span>#\" #<span>recaptcha.Error</span>#"
        }
}

In my blog I posted an image of this usage http://alessandrolandim.blogspot.com/2010/04/recaptchanet-no-openacs.html

Collapse
13: Re: reCAPTCHA proposal (response to 12)
Posted by Dave Bauer on
This sounds good. I will try to review this.
Collapse
14: Re: reCAPTCHA proposal (response to 13)
Posted by Torben Brosten on
This is great.

Please make sure code works well when connecting securely.

More info under "Using reCAPTCHA on an https site" at http://recaptcha.net/apidocs/captcha/client.html