THE WORLD'S LARGEST WEB DEVELOPER SITE

PHP symlink() Function


❮ Complete PHP Filesystem Reference

Definition and Usage

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

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

Syntax

symlink(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 does not work on Windows platforms.


❮ Complete PHP Filesystem Reference