for($i=0;$i<200;$i++){
$pixel=imagecolorallocate($image,rand(80,220),rand(80 ,220),rand(80,220));
$x=rand(1,99);
$y=rand(1,29);
imagesetpixel($image,$x,$y,$pixel);
}
$pixel=imagecolorallocate($image,rand(80,220),rand(80 ,220),rand(80,220));
$x=rand(1,99);
$y=rand(1,29);
imagesetpixel($image,$x,$y,$pixel);
}
2016-05-11
沒(méi)有源碼么。
+隨機(jī)數(shù)怎么改的地址啥?參數(shù)也不提一下
應(yīng)該是strlen($data)-1,不然會(huì)有空字符