kuchela Posted August 4, 2007 Share Posted August 4, 2007 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 Link to comment https://forums.phpfreaks.com/topic/63286-imagecopy-error/ Share on other sites More sharing options...
Barand Posted August 4, 2007 Share Posted August 4, 2007 1 ) wrong forum for problems 2 ) Don't double post - I have answered this in php help forum. Link to comment https://forums.phpfreaks.com/topic/63286-imagecopy-error/#findComment-315462 Share on other sites More sharing options...
Recommended Posts