getimagesize錯誤
$filename='002.jpg'; var_dump(getimagesize($filename)); ?>
頁面上錯誤:
( ! )?Warning: getimagesize(002.jpg) [function.getimagesize]: failed to open stream: No such file or directory in D:\PHP\Demo\project05\getimagesize.php on line?5
Call Stack
#
Time
Memory
Function
Location
1 ? ?0.0005 ? ?366224 ? ?{main}( ) ? ?..\getimagesize.php:0 ? ?
2 ? ?0.0005 ? ?366360 ? ?getimagesize?( ) ? ?..\getimagesize.php:5 ? ?
boolean false
2017-05-27
兄弟 ?你大概是沒有把002.jpg移動文件目錄下 所以No such file or directory 意思是說找不到文件或者目標 ?