The readlink() function returns the target of the symbolic link.
If successful, the function returns the connected target. If it fails, returns FALSE.
readlink(linkpath)
parameter | describe |
---|---|
linkpath | Required. Specifies the connection path to be checked. |
Note: This function cannot be executed on Windows platform.
<?phpecho readlink("/user/testlink");?>