How to use Filesystem lstat in PHP
In this article I am going to explain about lstat function in PHP.
PHP lstat() Function
The filesystem lstat function gives information about a file or symbolic link.
Syntax of lstat function
Parameters in lstat function
It has only one parameter:
Parameter |
Description |
file |
It specifies the file to check. |
Example of filesystem lstat function
<html>
<body>
<?php
print_r(lstat("C:\wamp\www\basename.php"));
?>
</body>
</html>
|
Output:
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