Ok all this code is good WITHOUT the hi. Without the text it shows a black square with a diagonal white line. Then when it has the text 'hi' it shows hi and then spits out incoherentness such as "ÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ"
So how am I supposed to be able to use imagejpeg AND put text?
Hi
<?
$im = ImageCreate(100, 100);
$black = ImageColorAllocate($im, 0, 0, 0);
$white = ImageColorAllocate($im, 255, 255, 255);
ImageLine($im, 0, 0, 99, 99, $white);
imagejpeg ($im);
ImageDestroy($im);
?>