file_exists — 檢查文件或目錄是否存在
bool file_exists ( string $filename )
fileatime — 取得文件的上次訪問時間
int fileatime ( string $filename )
filemtime — 取得文件修改時間
int filemtime ( string $filename )
filesize — 取得文件大小
int filesize ( string $filename )
filetype — 取得文件類型
string filetype ( string $filename )
fstat — 通過已打開的文件指針取得文件信息
array fstat ( resource $handle )
is_executable — 判斷給定文件名是否可執行
bool is_executable ( string $filename )
is_file — 判斷給定文件名是否為一個正常的文件
bool is_file ( string $filename )
is_readable — 判斷給定文件名是否可讀
bool is_readable ( string $filename )
is_uploaded_file — 判斷文件是否是通過 HTTP POST 上傳的
bool is_uploaded_file ( string $filename )
is_writable — 判斷給定的文件名是否可寫
bool is_writable ( string $filename )
is_writeable — is_writable 的別名
pathinfo — 返回文件路徑的信息
mixed pathinfo ( string $path [, int $options = PATHINFO_DIRNAME | PATHINFO_BASENAME | PATHINFO_EXTENSION | PATHINFO_FILENAME ] )
realpath — 返回規范化的絕對路徑名
string realpath ( string $path )
rename — 重命名一個文件或目錄
bool rename ( string $oldname , string $newname [, resource $context ] )
stat — 給出文件的信息
array stat ( string $filename )