PHP readlink() Function


PHP Filesystem Reference Complete PHP Filesystem Reference

Definition and Usage

The readlink() function returns the target of a symbolic link.

This function returns the target of the link on success, or FALSE on failure.

Syntax

readlink(linkpath)

Parameter Description
linkpath Required. Specifies the link path to check

Tips and Notes

Note: This function is not implemented on Windows platforms.


Example

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


PHP Filesystem Reference Complete PHP Filesystem Reference

SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: