
27.04.2008, 23:44
|
|
Участник форума
Регистрация: 28.10.2007
Сообщений: 143
С нами:
9756326
Репутация:
162
|
|
решил по рисовать))
<?php
$image = imagecreatetruecolor(600,600)
or die('Cannot create image');
$red = imagecolorallocate($image, rand(1,255), rand(1,255), rand(1,255));
imagefill($image, 0, 0, $red);
for($i=0;$i<50;$i++){
$red = imagecolorallocate($image, rand(1,255), rand(1,255), rand(1,255));
imageline($image, rand(1,500), rand(1,500), rand(1,500), rand(1,500), $red);
}
header('Content-type: image/png');
imagepng($image);
imagedestroy($image);
?>
|
|
|