Hi,
I'm trying to set the colour of text on this script but it just aint workin'!
I was wondering what expressions I can use as colour in the function.
Thanks.
-dave
Script:
<?php
Header("Content-type: image/JPEG");
/ $string=implode(" ",$argv); /
$string=$txt;
$im = ImageCreateFromJPEG("3dbutton.jpg");
$orange = ImageColorAllocate($im, 220, 210, 60);
$px = (imagesx($im)-7.5*strlen($string))/2;
ImageString($im,3,$px,9,$string,$orange);
ImageJPEG($im);
ImageDestroy($im);
?>