PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  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 (11 years ago) RSS 2.0 feedStarStarStar 57%Total: 2,097 This week: 1All time: 1,811 This week: 1,047Up
Version License Categories
fileicon 1.0.0GNU General Publi...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

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,097
This week:1
All time:1,811
This week:1,047Up
User Ratings User Comments (1)
 All time
Utility:81%StarStarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1389
 
Excellent
7 years ago (kishore kumar)
70%StarStarStarStar