php is_file 函数返回 false

WBOY
Release: 2016-06-23 13:34:07
Original
1739 people have browsed it

关于 php 系统函数 is_file() 返回的是 false



    

	        $image    = new \Think\Image();		$img_url  = 'http://www.yzcms.com/Attach/image/20150524/test.jpg';		$logo_url = "/Attach/image/20150524/logo.jpg";		$test_url = "D:/www/www/yzcms/Attach/image/20150524/test.jpg";    		var_dump(is_file($img_url));				这一个返回的 false				var_dump(is_file($test_url ));
Copy after login

                这一个返回的 true
Copy after login


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!