Pokeguy
12-05-2000, 09:11 PM
Do i need to install gd libraries?? if not. how can i access them?
i have the following script to test, but it keeps giving me some header already sent message.
not sure what's wrong.
and i i take out the header info, it just gives me a blank screen.
anything to do with gd??
<HTML>
</BODY>
<?php
Header( "Content-type: image/gif");
$image = imagecreate(200,200);
$maroon = ImageColorAllocate($image, 100, 0, 0);
$white = ImageColorAllocate($image, 255, 255, 255);
ImageFilledRectangle($image, 0, 0, 200, 200, $white);
?>
</HTML>
</BODY>
i have the following script to test, but it keeps giving me some header already sent message.
not sure what's wrong.
and i i take out the header info, it just gives me a blank screen.
anything to do with gd??
<HTML>
</BODY>
<?php
Header( "Content-type: image/gif");
$image = imagecreate(200,200);
$maroon = ImageColorAllocate($image, 100, 0, 0);
$white = ImageColorAllocate($image, 255, 255, 255);
ImageFilledRectangle($image, 0, 0, 200, 200, $white);
?>
</HTML>
</BODY>