Was ist hier falsch? Es wird einfach kein bild angezeigt, bis auf das Bildchen mit dem Kreuz.
<?php
$zufall=rand(100000,999999);
header ("Content-type: image/png");
$im = ImageCreate (580, 180)
or die ("Kann keinen neuen GD-Bild-Stream erzeugen");
$text_color = ImageColorAllocate ($im, 255, 233, 01);
ImageTTFText ($im, 20, 0, 10, 20, $text_color, "C:\WINDOWS\Fonts\arial.ttf",
"$zufall");
ImagePNG ($im);
?>
Grüße
Andreas