Hi,
I am using a simple image create function and it working nice now i want to copy this created image to the server i got a command but not geting out put script is
<?php
header("Content-type: image/gif");
$im = @imagecreate(120, 50)
or die("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate($im, 200, 200, 200);
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
imagegif($im);
//imagecopy( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h )
imagecopy( "myimage.gif", $im, 0, 0, 0, 0, 120, 50 );
//copy($im, "myimage.gif");
imagedestroy($im);
?>
as the command is
imagecopy( "myimage.gif", $im, 0, 0, 0, 0, 120, 50 );
also i put a image on server name "myimage.gif" and try without too but no result at all.
Can somebody help me?