1. File types
With Linux as a model, only file, dir or unknow three types can be obtained in Windows
Under Linux/unix, block, Char, dir, FIFO, file, link, unknown seven types
FileType ("directory or file name") Get file type
Is_dir--Determine if a given file name is a directory
Is_executable--Determine if the given file name is executable
Is_file--Determine if the given file name is a normal file
Is_link--Determine if the given file name is a symbolic connection
Is_readable--to determine if a given file name is readable
Is_uploaded_file--Determine if the file was uploaded via HTTP POST
Is_writable--Determines whether a given file name can be written
2. Properties of the file
File_exists ();
Whether the file exists
FileSize ();
File size
Is_readable ();
Whether the file is readable
Is_writeable ();
Whether the file is writable
Filectime ();
File creation time
Filemtime ();
File modification Time
Fileactime ();
Last file access time
Stat ();
File information
The above describes the PHP file operation of the type and attributes, including aspects of the content, I hope to be interested in PHP tutorial friends helpful.