Home  >  Article  >  Backend Development  >  自学php 有个小疑点 求高手

自学php 有个小疑点 求高手

WBOY
WBOYOriginal
2016-06-13 12:15:56996browse

自学php 有个小问题 求高手
  test.php
//echo filesize("http://localhost:81/qq.jpg/");
echo filesize("E:/Apache/htdocs/qq.jpg/");
?>
这个filesize函数咋么这么爱报warning,
Warning: filesize() [function.filesize]: stat failed for E:/Apache/htdocs/qq.jpg/ in E:\Apache\htdocs\test.php on line 4

apache  路径没问题 到底那里错了
------解决思路----------------------
filesize("E:/Apache/htdocs/qq.jpg/");
最后的 ‘/’ 是什么意思

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:系统内部函数Next article:预定义错误