How to use Filesystem readlink in PHP

In this article I am going to explain about readlink function in PHP.
  • 1101

PHP readlink() Function

The filesystem readlink function returns the target of a symbolic link.

Syntax of readlink function

readlink(linkpath)

Parameters in readlink function

It has only one parameter:

Parameter Description
linkpath Specifies the link file to check.

Example of filesystem readlink function is not implement on window platforms:

<html>

<body>

<?php

echo readlink('/php');

?>

</body>

</html>


You may also want to read these related articles :
here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.