PHP File Magic: Check file access and execution permissions

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 72 All time: 9,680 This week: 370Up
Version License PHP version Categories
filemagic 1.0GNU General Publi...5.3PHP 5, Files and Folders
Description Author

This class can check file access and execution permissions.

It can detect the file MIME type using the finfo extension and well check its access permissions.

If the file has read access permissions it can also return its size, file type, file access statistics, MIME types, executable permissions, and contents hash values.

Picture of Wladek
  Performance   Level  
Name: Wladek <contact>
Classes: 1 package by
Country: Hungary Hungary
Age: ???
All time rank: 433539 in Hungary Hungary
Week rank: 625 Up8 in Hungary Hungary Up

  Files folder image Files  
File Role Description
Plain text file filemagic.php Class The FileMagic class
Accessible without login Plain text file test.php Example An example for FileMagic class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:72
This week:0
All time:9,680
This week:370Up

For more information send a message to info at phpclasses dot org.