link

link

(PHP 3, PHP 4, PHP 5)

link -- Create a hard link

Description

bool link ( string target, string link )

link() creates a hard link. Returns TRUE on success or FALSE on failure.

Note: This function will not work on remote files as the file to be examined must be accessible via the servers filesystem.

Note: This function is not implemented on Windows platforms.

See also the symlink() to create soft links, and readlink() along with linkinfo().

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.