Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $array = array_diff(scandir('upload'), array('..', '.','.DS_Store'));
- $storeFolder = 'upload';
- $targetPath = dirname( __FILE__ ) . $ds. $storeFolder . $ds;
- ?>
- <table>
- <thead>
- </thead>
- <tr>
- <td>File Name</td>
- <td>Last changes by</td>
- <td>Date/Time</td>
- <td>File History</td>
- <td>Action</td>
- </tr>
- <?php
- foreach ($array as $file) {
- ?>
- <tr>
- <tr>
- <td><?php echo $file;?></td>
- <td><?php $arr = posix_getpwuid(fileowner('upload/'.$file)); echo $arr['name'];?></td>
- <td><?php echo date("F d Y H:i:s.", filemtime('upload/'.$file));?></td>
- <td>-</td>
- <td>-</td>
- </tr>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement