Revision 390
Added by ryan almost 18 years ago
trunk/wb/include/captcha.php | ||
---|---|---|
52 | 52 |
imageline($image, $x1, $y1, $x2, $y2 , $gray); |
53 | 53 |
} |
54 | 54 |
|
55 |
for ($i = 0; $i < 5; $i++) { |
|
55 |
$x = 0; |
|
56 |
for($i = 0; $i < 5; $i++) { |
|
56 | 57 |
$fnt = rand(3,5); |
57 | 58 |
$x = $x + rand(12 , 20); |
58 | 59 |
$y = rand(7 , 12); |
Also available in: Unified diff
Fixed bug #346 with captcha script