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);這段代碼本身沒錯(cuò),他是說?imagecopymerge()函數(shù)的第一個(gè)參數(shù)沒取到數(shù)據(jù)不合法,你檢查下前面的$image