PHP头条
热点:

PHP用代码实现文件上载


PHP用代码实现文件下载

?

?

网友回复:

if (!file_exists($file_dir.$file_name)) { //检查文件是否存在?
这个是错误的,检查文件是否存在要用is_file,file_exists在文件不存在但是文件夹存在的时候也会返回TRUE。

?

From:http://www.cnblogs.com/analyzer/articles/1393967.html

?

www.phpzy.comtrue/phprm/56133.htmlTechArticlePHP用代码实现文件上载 PHP用代码实现文件下载 ? ? 网友回复: if (!file_exists($file_dir.$file_name)) { //检查文件是否存在? 这个是错误的,检查文件是否存在要用is_file,file_exists在文件不存在但...

相关文章

PHP之友评论

今天推荐