Login   Register  
PHP Classes
elePHPant
Icontem

File Icon: Get the icon and other types of file metadata

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (27)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-10-20 (9 years ago) RSS 2.0 feedStarStarStar 57%Total: 2,050 This week: 1All time: 1,807 This week: 1,319Up
Version License Categories  
fileicon 1.0.0GNU General Public Lice...Files and Folders
Description Author  

This class can be used to retrieve icons and other types of metadata of a given file.

It can retrieve the icon image file name associated to a file based on the file name extension. It may also return <img> tags to display the file icon in HTML pages.

Several image files of graphic size 16x16 are provided to associate to many common file types.

The class can also retrieve the size of the file either in KB, MB or GB depending on how large the file is.

The class may also retrieve the file name extension, last change time, the file owner and the file group.

Picture of Hadar Porat
Name: Hadar Porat <contact>
Classes: 5 packages by
Country: United States United States
Age: 31
All time rank: 30532 in United States United States
Week rank: 536 Down54 in United States United States Down

Screenshots  
  • example.jpg
  Files folder image Files  
File Role Description
Files folder imageicons (25 files)
Plain text file example.php Example Example script
Plain text file FileIcon.inc.php Class Main Class

  Files folder image Files  /  icons  
File Role Description
  Image file access.gif Icon Icon image
  Image file audio.gif Icon Icon image
  Image file binary.gif Icon Icon image
  Image file chm.gif Icon Icon image
  Image file doc.gif Icon Icon image
  Image file dvi.gif Icon Icon image
  Image file htm.gif Icon Icon image
  Image file image.gif Icon Icon image
  Image file js.gif Icon Icon image
  Image file oo-calc.gif Icon Icon image
  Image file oo-draw.gif Icon Icon image
  Image file oo-impress.gif Icon Icon image
  Image file oo-write.gif Icon Icon image
  Image file pdf.gif Icon Icon image
  Image file php.gif Icon Icon image
  Image file ppt.gif Icon Icon image
  Image file project.gif Icon Icon image
  Image file ps.gif Icon Icon image
  Image file rtf.gif Icon Icon image
  Image file txt.gif Icon Icon image
  Image file video.gif Icon Icon image
  Image file visio.gif Icon Icon image
  Image file xls.gif Icon Icon image
  Image file xml.gif Icon Icon image
  Image file zip.gif Icon Icon image

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,050All time:1,807
 This week:1This week:1,319Up
User Ratings User Comments (1)  
 All time
Utility:81%StarStarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1065
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar