生成圖片,為什么顯示的這樣?
Notice: Undefined variable: image in?G:\xampp\htdocs\project\captcha.php?on line?3
Notice: Undefined variable: image in?G:\xampp\htdocs\project\captcha.php?on line?4
Warning: imagecolorallocate() expects parameter 1 to be resource, null given in?G:\xampp\htdocs\project\captcha.php?on line?4
Notice: Undefined variable: image in?G:\xampp\htdocs\project\captcha.php?on line?5
Warning: imagefill() expects parameter 1 to be resource, null given in?G:\xampp\htdocs\project\captcha.php?on line?5
Notice: Undefined variable: image in?G:\xampp\htdocs\project\captcha.php?on line?8
Warning: imagepng() expects parameter 1 to be resource, null given in?G:\xampp\htdocs\project\captcha.php?on line?8
Notice: Undefined variable: image in?G:\xampp\htdocs\project\captcha.php?on line?10
Warning: imagedestroy() expects parameter 1 to be resource, null given in?G:\xampp\htdocs\project\captcha.php?on line?10
2016-03-14
不是有提示嘛,$image變量未定義。還有其他錯誤貼源碼
2016-03-16
這錯誤好多啊,是不是代碼輸錯了???