symlink

(PHP 3, PHP 4 , PHP 5)

symlink -- Creates a symbolic link

Description

bool symlink ( string target, string link)

symlink() creates a symbolic link from the existing target with the specified name link.

成功回傳TRUE失敗回傳FALSE

注: 此函數不適用於 Windows 平台。

See also link() to create hard links, and readlink() along with linkinfo().