PHP link () function
Definition and Usage
link () function is hard links existing destination file to create a connection from the specified name began.
If successful, the function returns TRUE. If it fails, it returns FALSE.
grammar
link(target,link)
参数 | 描述 |
---|---|
target | 必需。 |
link | 必需。 |
Tips and Notes
Note: This is not an HTML link, but a file system access.
Note: This function will not work on remote files.
Complete PHP Filesystem Reference Manual