W3Schools.com
THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPJQUERYBOOTSTRAPANGULARXML
 

PHP link() Function


PHP Filesystem Reference Complete PHP Filesystem Reference

Definition and Usage

The link() function creates a hard link from the existing target with the specified name link.

This function returns TRUE on success, or FALSE on failure.

Syntax

link(target,link)

Parameter Description
target Required.
link Required.

Tips and Notes

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

Note: This function will not work on remote files.


PHP Filesystem Reference Complete PHP Filesystem Reference