Current Location: Home> Function Categories> readlink

readlink

Return the target of the symbolic link
Name:readlink
Category:File system
Programming Language:php
One-line Description:Returns the target of the symbolic connection.

Definition and usage

readlink() function returns the target pointed to by the symbolic connection.

If successful, the function returns the connection target. If it fails, return false.

Example

 <?php
echo readlink ( "/user/testlink" ) ;
?>

grammar

 readlink ( linkpath )
parameter describe
linkpath Required. Specify the connection path to be checked.
Similar Functions
Popular Articles