How to use Filesystem linkinfo in PHP

In this article I am going to explain about linkinfo function in PHP.
  • 1358

PHP linkinfo() Function

The filesystem linkinfo function returns information about a hard link. The linkinfo function returns a device id on success or false on failure.

Syntax of linkinfo function

linkinfo(path)

Parameters in linkinfo function

It has only one  parameter:

Parameter Description
path It specifies the path to check.

Example of filesystem linkinfo function

<html>

<body>
 

<?php

echo "Id is:". linkinfo("C:\wamp\www\abc.html");

?>
 

</body>

</html>

 

Output:

linkinfo-php-function.jpg

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.