I use this at the top of my page to prevent the header issue:
Header ("Content-type: image/gif");
$im = imagecreate (215, 60);
$white = ImageColorAllocate ($im, 255, 255, 255);
$black = ImageColorAllocate ($im, 0, 0, 0);
ImageTTFText ($im, 20, 0, 10, 20, $black, "/home/artistes/ttfonts/ARIBLK.TTF",
$acctname);
and then this in my html code:
<?
ImageGif ($im);
?>
It just gives me this:
GIF87a×<¢ÿÿÿ???¿¿¿,×<ÿºÜþ0ÊI«½8ëÍ»ÿ`(Ždižhª®lë¾p,Ïtmßx®Hèª ‚.·?ŒrÒj/Îz_º,ºÜþ0ÊI«½8ëmQèr
etc. etc. etc. instead of the image.
Am i misunderstanding?
Thanks
Darren