imagecopymerge($image, $water, 20, 30, 0, 0, $info2[0], $info2[1], 30);
Warning: imagecopymerge() expects parameter 1 to be resource, string given in D:\phpStudy\WWW\image\imageMark.php on line 26為什么我的會(huì)報(bào)這個(gè)錯(cuò)呢
Warning: imagecopymerge() expects parameter 1 to be resource, string given in D:\phpStudy\WWW\image\imageMark.php on line 26為什么我的會(huì)報(bào)這個(gè)錯(cuò)呢
2016-10-18
舉報(bào)
2016-10-20
imagecopymerge($image, $water, 20, $y1, 0, 0, $info2[0], $info2[1], 100);這段代碼本身沒(méi)錯(cuò),他是說(shuō)?imagecopymerge()函數(shù)的第一個(gè)參數(shù)沒(méi)取到數(shù)據(jù)不合法,你檢查下前面的$image