How do i install the GD2 library because I'm Trying to used with this example:
<script language="php">
$im = @imagecreate( 150, 100)
or die ( "Cannot create a new GD image.");
$background_color = imagecolorallocate($im, 255, 255, 255);
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color );
//header ("Content-type: image/png");
imagepng($im)
//ImagePng ($im);
</script>
Which i dont think is nothing wrong, and i reacieve this message without drawing
‰PNG
and i dont undertand what is worng!!