I'm having trouble using the ImageCopy command. When I do this in my PHP script:
<?php
$src = "images/digits/1/strip.gif";
$imagehw = GetImageSize ($src);
$height = $imagehw
$width = $imagehw[0];
$width = $width/10;
$width = $width*3;
$image = ImageCreate ($width,$imagehw[1]);
ImageCopy ($image, $src, 0, 0, 0, 0, $width, $height);
ImageGif ($image);
?>
it gives me this error:
Warning: Wrong parameter count for imagecopy() in /home2/BigE/www/ing.phtml on line 8
GIF87ai€,i9„©Ëí£œ´Ú‹³Þ¼û†âH–扦êʶî ÇòL×öçúÎ÷þ ‡Ä¢ñˆL*—Ì¦ó • ;
I uploaded in ASCII and the script work fine when I take out the ImageCopy command. Please HELP!!
~ Eric