1. Open the file, close the directory, read the file
Opendir Closedir Readdir
Run
2. Create directory mkdir <喎?http: www.bkjia.com="" kf="" ware="" vc="" "="" target="_blank" class="keylink"> vcd4kpha+pgltzybzcmm9 "Http://www.2cto.com/uploadfile/Collfiles/20140303/20140303094606311.png" alt= "\" >
Run
Create success!
The same function that deletes the directory is rmdir
3. Change the current directory
Chidir
Get current directory GETCWD
Code
Run
4. Open files and write files, delete files
fopen fwrite Unlink
A: Open in write mode
Open the test file
Success!
Next is the test to delete the file
Test
http://www.bkjia.com/PHPjc/735867.html www.bkjia.com true http://www.bkjia.com/PHPjc/735867.html techarticle 1. Open file, close directory, read file Opendir closedir readdir run 2. Create directory mkdir vcd4kpha+pgltzybzcmm9 "http://www.2cto.com/uploadfile/ collfiles/20140303/2014030309 ...