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.';
}
?>