hi,
firstly to be able to creating or manipulating images in gif, png or jpeg , you must have the GD library which will enable you to generate all theseit is either (php_gd.dll or php3_gd.dll) you must ensure the presence of these file in your php configuration
then you can proceed normally with your programing using thses function proper to image creation.
i'll give you a simple example:
<?
$width=410;
$height=410;
Header("Content-type: image/gif");
$im = imagecreate($width,$height);
$gray=ImageColorAllocate($im,225,225,225);
$Red=ImageColorAllocate($im,255,0,0);
$black=ImageColorAllocate($im,0,0,0);
$col=ImageColorAllocate($im,0,0,0);
for ($i=0;$i<=200;$i+=10)
{
imageline($im,210-$i,200,210,$i,$black);
imageline($im,210+$i,200,210,$i,$black);
imageline($im,210,210+$i,$i,200,$black);
imageline($im,210,410-$i,210+$i,200,$black);
}
imagePng($im);
ImageDestroy($im);
?>
advice :
play with the values in there , you will understand better how it works
i hope this will help you
Pascaline