PHP readlink() Function
Complete PHP Filesystem Reference Manual
Definition and Usage
The readlink() function returns the target of a symbolic link.
Returns the target of the link on success, or FALSE on failure.
Syntax
readlink(linkpath)
| Parameters | Description |
|---|---|
| linkpath | Required. Specifies the path of the link to check. |
Tips and Notes
**Note:** This function cannot be executed on Windows platforms.
Example
Complete PHP Filesystem Reference Manual