Hello friends,
I need help in imagecopy function used in php
i write the code here is the sample...................
<?php
$w = getimagesize("image2.jpg");
echo $w[0];
echo $w[1];
$src = "/var/www/html/image2.jpg";
imagecopy("image1.jpg","$src","50","100","40","100","$w[0]","$w[1]");
?>
and i am getting the error like this....................
PHP Warning: imagecopy(): supplied argument is not a valid Image resource in /var/www/html/imagecp.php on line 19
please help me anybody i need very urgently
thank u