link

(PHP 3, PHP 4 )

link -- Create a hard link

Description

bool link ( string target, string link)

link() creates a hard link. Palauttaa TRUE onnistuessaan, muutoin FALSE.

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

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