• PHP Video Tutorials

PHP - Function readlink()



The readlink() function can return the target of a symbolic link, and this function can return the target of a link on success or false on failure.

Syntax

string readlink ( string $path )

The readlink() function does the same as the readlink C function.

Example

<?php
   echo readlink("/PhpProject/testlink");
?>
php_function_reference.htm
Advertisements