for($i=0;$i<3;$i++){
$linecolor=imagecolorallocate($image,rand(80,220),rand(80,220),rand(80,220));
imageline($image,rand(1,99),rand(1,29),rand(1,99),rand(1,29),$linecolor);
}
$linecolor=imagecolorallocate($image,rand(80,220),rand(80,220),rand(80,220));
imageline($image,rand(1,99),rand(1,29),rand(1,99),rand(1,29),$linecolor);
}
2015-05-10
弄出來了。出現亂碼的同學請在php代碼中添加:header("Content-type: text/html; charset=utf-8");
2015-05-04
贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!贊!