Relative path
The path relative to the directory where the current file is located
Current directory: .
Previous directory: ..
Path separator: /
Absolute path
Relative to the root of the operating system or the document root directory where the website is stored
If the path is executed in the server (executed through the PHP file processing function), the "root" refers to the root of the operating system
If the program It is a downloaded client. When accessing files in the server, it can only be accessed through Apache. "Root" also refers to the document root directory
Functions related to file operations
Create file touch("File name")
delete file unlink("file path");
cut/rename file rename("original path", "new path")
copy file copy("current", " Target");
The above introduces the path and operation of PHP files, including aspects of content. I hope it will be helpful to friends who are interested in PHP tutorials.