慕粉4279450
2017-05-24 23:44
$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
兄弟 你大概是没有把002.jpg移动文件目录下 所以No such file or directory 意思是说找不到文件或者目标
PHP实现文件上传与下载
43741 学习 · 328 问题
相似问题