0) { $pos = array(rand(0, 2), rand(0, 2)); foreach ($protect as $pro) { if ($pos[0]==$pro[0] && $pos[1]==$pro[1]) continue(2); } if (checkline($pos, $circles)) continue; $protect[] = $pos; $circles[$pos[0]][$pos[1]] = true; drawcircle($img, $pos, $conf['EasyCaptcha']['tictac']['obj']); $i--; } // output header('Content-Type: image/png'); imagepng($img);