Hi
I have this script and it works fine locally but as soon as i upload it breaks.
What happen once it's online is the image (800x600) gets created but not the text. however locally the text gets created... The font is there on the server at the right place.
Has anyone got any ideas?
thanks
Seb
<?php
$pic=ImageCreate(800,600);
$colBG=ImageColorAllocate($pic,255,255,255);
$col1=ImageColorAllocate($pic,0,0,0);
$nomalFont = "arialbd.ttf";
imagettftext($pic, 29, 0, 100, 200, $col1, $nomalFont ,"some text");
ImageJPEG($pic,"pic.jpg",120);
ImageDestroy($pic);
?>