kann mir einer sagen warum?...
das hier nicht geht ich seh da immer nur ein nicht vorhandenes bild
PHPVersion 4.3.3
das hier nicht geht ich seh da immer nur ein nicht vorhandenes bild
PHPVersion 4.3.3
PHP Code:
<?
Header("Content-type: image/png");
$dx=468;
$dy=60;
//Bild erzeugen
$im = imagecreate($dx,§dy);
//Farben definieren
$sred = imagecolorallocate($im , 0xce, 0x31,0x21);
$white = imagecolorallocate($im , 0xff, 0xff,0xff);
$hred = imagecolorallocate($im , 0xdd, 0x40,0x35);
//Hintergrundfarbe
imagefill($im,0,0,$red);
//Linie zeichnen
imageline ($im , 0,40, 468, 40, $white);
//Rechteck zeichnen
for ($i;$i<66;$i++)
{
imagefilledrectangle($im, 3+($i*7), 3,7+($i*7), 7, $hred);
imagefilledrectangle($im, 3+($i*7), 53,7+($i*7), 57, $hred);
}
$text="HALLO, WELT!";
$ttf = realpath("arial.ttf");
imagettftext ($im,10,0,360 ,55, $black, $ttf, $text);
imagepng($im);
imagedestroy($im)
?>
Comment