September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool symlink(string target, string source)
Creates a symbolic link.
Returns:
TRUE on success; FALSE on error
Description:
symlink() creates a symbolic link, if permissions allow, from the source file to the target file. This function doesn’t work on Windows platforms.
Example:
$path = "/home/user/orig_file"; $path_new = "/home/user/link_file"; symlink($path_new, $path); |
Read now
Unlock full access