PHP symlink()Functions


PHP Filesystem 参考手册Complete PHP Filesystem Reference

Definition and Usage

The symlink() function creates a symbolic link from a specified name to an existing target file.

Returns TRUE on success, or FALSE on failure.

Syntax

symlink(target,link)

Parameter Description
target Required.
link Required.


Tips and Notes

Note:This is not an HTML link, but a filesystem link.

Note:This function cannot be executed on Windows platforms.


PHP Filesystem 参考手册Complete PHP Filesystem Reference Other Extensions