<?php $testfile = 'hello.txt'; //this next line are the mdifcation time, and its more than just number //filemtime: last modified (changed content). and its the file modifiaction time //filectime: last changed (changed content or metadata)or the last change time of the content of metadata //fileatime: last accessed (any read/change). it keeps track when a file is last accessed ?>
13 01/09/2014 14:37 01/03/2014 02:53 01/09/2014 14:37
<?php $testfile = 'hello.txt'; //this next line are the mdifcation time, and its more than just number //filemtime: last modified (changed content). and its the file modifiaction time //filectime: last changed (changed content or metadata)or the last change time of the content of metadata //fileatime: last accessed (any read/change). it keeps track when a file is last accessed //this next line are the mdifcation time, and its more than just number //filemtime: last modified (changed content). and its the file modifiaction time //filectime: last changed (changed content or metadata)or the last change time of the content of metadata //fileatime: last accessed (any read/change). it keeps track when a file is last accessed //in this line of code we're going to get back the file info using pathinfo echo $pathinfo['dirname'].'<br/>';// returns the directory name echo $pathinfo['basename'].'<br/>';// returns file details echo $pathinfo['filename'].'<br/>';// returns file_details.php echo $pathinfo['extension'].'<br/>';// returns php ?>
16 01/09/2014 14:37 01/03/2014 02:53 01/09/2014 14:37 01/09/2014 14:37 01/03/2014 02:53 01/09/2014 14:37 C:\xampp\htdocs\file file_detail.php file_detail php