Docs

6 comments “Docs”

How to use mathematical CAPTCHA.

You use the Securimage property

captcha_type

to set the math captcha. If you see securimage_show.php line 57 (seen here) this shows how to do it. If you remove the

//

at the beginning of the line, this will switch to use the math captcha.

Hello,
Many thanks for this great Captcha, easy to install and use, PERFECT.
Just one point => The accents
I have tried to insert a function as $GLOBALS['charset'] whitout success.

I have tried to replace
“From: {$GLOBALS['ct_recipient']}\r\nReply-To: {$email}\r\nContent-type: text/html; charset=ISO-8859-1\r\nMIME-Version: 1.0″);
By
“From: {$GLOBALS['ct_recipient']}\r\nReply-To: {$email}\r\nContent-type: text/html; charset=iso-8859-1″);

But the accents are still like é Ã

Could you please help me to solve this problem

Many thanks in advance

The simple mail example doesn’t handle non-ascii characters very well. You will need to send the message in UTF-8 format to get better character support, or change the charset from IS0-8859-1 to an encoding scheme that matches the language you are using.

Mailers like phpMailer or Zend_Mail can help do this for you. See the mail() manual page for examples from the comments.

bonjour,après installation de securimage,quand on valide l’inscription est faite quand même sans que le captcha n’intervienne,connaissez vous ce problème?
merci de votre aide
cordialement

This probably means the validation is in the wrong place. Make sure to check the captcha and show an error *before* sending mail or inserting into the database.


Leave a Reply



Reload Image
*