PHP Classes

Extension Info: Get the file type and icon from the name extension

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (45)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 894 This week: 1All time: 3,952 This week: 560Up
Version License Categories
extinfo 1.0GNU General Publi...Files and Folders
Description 

Author

This is a simple class that can be used to determine the file type and the file name extension

It can also associate an icon image to files of a known type.

Currently it can recognize over 40 file types from the file name extension.

Picture of Nemanja Avramovic
Name: Nemanja Avramovic <contact>
Classes: 9 packages by
Country: Serbia Serbia
Age: 37
All time rank: 1991 in Serbia Serbia
Week rank: 416 Down5 in Serbia Serbia Down
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • extinfo.jpg
  Files folder image Files  
File Role Description
Files folder imageextimgs (43 files)
Plain text file example.php Example Example of usage
Plain text file extinfo.class.php Class Class file

  Files folder image Files  /  extimgs  
File Role Description
  Image file ext_asp.gif Icon extension icon
  Image file ext_avi.gif Icon extension icon
  Image file ext_bmp.gif Icon extension icon
  Image file ext_bz2.gif Icon extension icon
  Image file ext_cdr.gif Icon extension icon
  Image file ext_css.gif Icon extension icon
  Image file ext_csv.gif Icon extension icon
  Image file ext_dll.gif Icon extension icon
  Image file ext_doc.gif Icon extension icon
  Image file ext_dwg.gif Icon extension icon
  Image file ext_exe.gif Icon extension icon
  Image file ext_fon.gif Icon extension icon
  Image file ext_gif.gif Icon extension icon
  Image file ext_html.gif Icon extension icon
  Image file ext_ini.gif Icon extension icon
  Image file ext_iso.gif Icon extension icon
  Image file ext_jpg.gif Icon extension icon
  Image file ext_js.gif Icon extension icon
  Image file ext_mov.gif Icon extension icon
  Image file ext_mp3.gif Icon extension icon
  Image file ext_ogg.gif Icon extension icon
  Image file ext_pdf.gif Icon extension icon
  Image file ext_php.gif Icon extension icon
  Image file ext_png.gif Icon extension icon
  Image file ext_ppt.gif Icon extension icon
  Image file ext_psd.gif Icon extension icon
  Image file ext_rar.gif Icon extension icon
  Image file ext_sis.gif Icon extension icon
  Image file ext_swf.gif Icon extension icon
  Image file ext_sys.gif Icon extension icon
  Image file ext_tgz.gif Icon extension icon
  Image file ext_tif.gif Icon extension icon
  Image file ext_tpl.gif Icon extension icon
  Image file ext_ttf.gif Icon extension icon
  Image file ext_txt.gif Icon extension icon
  Image file ext_unk.gif Icon unknown file type icon
  Image file ext_wma.gif Icon extension icon
  Image file ext_wml.gif Icon extension icon
  Image file ext_wmv.gif Icon extension icon
  Image file ext_xls.gif Icon extension icon
  Image file ext_xml.gif Icon extension icon
  Image file ext_xsl.gif Icon extension icon
  Image file ext_zip.gif Icon extension icon

 Version Control Unique User Downloads Download Rankings  
 0%
Total:894
This week:1
All time:3,952
This week:560Up