macgeek
public php v1 · immutable$max_lines = mt_rand(5, 20);for($i = 0; $i < $max_lines; $i++){ $x1 = 0; $y1 = mt_rand(0, 40); $x2 = 125; $y2 = mt_rand(0, 40); $color = imagecolorallocate($img, mt_rand(0, 255), mt_rand(0, 255), mt_rand(0, 255)); imageline($img, $x1, $y1, $x2, $y2, $color);}