函数:file_exists()


file_exists

检查文件是否存在。

语法: int file_exists(string filename);

返回值: 整数

函数种类: 文件存取

内容说明

本函数用来测试检查文件是否存在,返回 true 表示文件存在。返回值放在快取缓冲区中,可以参考 clearstatcache()



[ 上一页 PHP 手册 下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序