PHP Manual
Prev |  | Next

# symlink

(PHP 3, PHP 4, PHP 5)

symlink -- Creates a symbolic link

## Description

bool symlink ( string target, string link )

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

Returns `TRUE` on success or `FALSE` on failure.

> Note: This function is not implemented on Windows platforms.

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

Prev | Home | Next
stat | Up | tempnam