php fileinode gets the file mode_PHP tutorial

WBOY
Release: 2016-07-20 11:01:02
Original
1198 people have browsed it

php fileinode gets the file mode ​

fileinode
(PHP 4, PHP 5)

fileinode - Get the inode of the file

Description
international fileinode (String $filename)
Get the file inode.

Parameters

File name
File path.


Return value
Returns some file on the inode, or FALSE in case an error occurs.

Example

Example #1 Compare the file on inode with the current file

$filename = 'index.php';
if (getmyinode() == fileinode($filename)) {
echo 'You are checking the current file.';
}
?>


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445460.htmlTechArticlephp fileinode gets the file mode fileinode (PHP 4, PHP 5) fileinode - gets the inode of the file describing the international fileinode (String $filename) Get the file inode. Parameters...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!