PHP Classes

Nice idea and good code.

Recommend this page to a friend!

      Math CAPTCHA Class  >  All threads  >  Nice idea and good code.  >  (Un) Subscribe thread alerts  
Subject:Nice idea and good code.
Summary:Package rating comment
Messages:4
Author:David Ferreira
Date:2008-08-25 08:00:33
Update:2012-03-10 14:08:17
 

David Ferreira rated this package as follows:

Utility: Good
Consistency: Good
Examples: Sufficient

  1. Nice idea and good code.   Reply   Report abuse  
Picture of David Ferreira David Ferreira - 2008-08-25 08:00:33
Nice idea and good code. Tested it and got happy with the results.

Best regards

  2. Re: Nice idea and good code.   Reply   Report abuse  
Picture of nickolas whiting nickolas whiting - 2008-08-26 02:34:46 - In reply to message 1 from David Ferreira
Ty, Keep yourself up to date as I be updating this soon so the math image is generated using layerd images, adding in division and ajax validation :)

  3. Re: Nice idea and good code.   Reply   Report abuse  
Picture of rudie dirkx rudie dirkx - 2012-03-10 14:06:41 - In reply to message 1 from David Ferreira
Good code my ass. Wtf is this:


function __construct()
{
$this->expression = $expression;
$this->security_code = $security_code;
$this->a = $a;
$this->b = $b;
$this->c = $c;
}

How on earth would that be possible??? Damn this is bad. Turn NOTICES ON man!

  4. Re: Nice idea and good code.   Reply   Report abuse  
Picture of rudie dirkx rudie dirkx - 2012-03-10 14:08:17 - In reply to message 1 from David Ferreira
You actually forgot a $... OMG good code???

imagettftext($image,rand($min_font_size,$max_font_size),rand( -$angle , $angle ),rand( 10,item_space-5 ),$height,$black,$font_path,$a);