PHP Classes

File: core/extensions_mime.php

Recommend this page to a friend!
  Classes of Ahmed Saad   Advanced PHP File Downloader   core/extensions_mime.php   Download  
File: core/extensions_mime.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Advanced PHP File Downloader
Retrieve files for download from remote sites
Author: By
Last change: Update of core/extensions_mime.php
Date: 1 year ago
Size: 3,383 bytes
 

Contents

Class file image Download
<?php

   
/**
     * -------------------------------------------------------
     * Mime Types
     * -------------------------------------------------------
     */
   
return [

       
'au' => 'audio/basic',
       
'avi' => 'video/x-msvideo',
       
'bmp' => 'image/bmp',
       
'bz2' => 'application/x-bzip2',
       
'css' => 'text/css',
       
'dtd' => 'application/xml-dtd',
       
'doc' => 'application/msword',
       
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
       
'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
       
'es' => 'application/ecmascript',
       
'exe' => 'application/octet-stream',
       
'gif' => 'image/gif',
       
'gz' => 'application/x-gzip',
       
'hqx' => 'application/mac-binhex40',
       
'html' => 'text/html',
       
'jar' => 'application/java-archive',
       
'jpg' => 'image/jpeg',
       
'jpeg' => 'image/jpeg',
       
'js' => 'application/x-javascript',
       
'midi' => 'audio/x-midi',
       
'mp3' => 'audio/mpeg',
       
'mpeg' => 'video/mpeg',
       
'mp4' => 'video/mp4',
       
'mp4a' => 'audio/mp4',
       
'ogg' => 'audio/vorbis, application/ogg',
       
'pdf' => 'application/pdf',
       
'pl' => 'application/x-perl',
       
'png' => 'image/png',
       
'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
       
'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
       
'ppt' => 'application/vnd.ms-powerpointtd',
       
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
       
'ps' => 'application/postscript',
       
'qt' => 'video/quicktime',
       
'ra' => 'audio/x-pn-realaudio',
       
'ram' => 'audio/x-pn-realaudio',
       
'rdf' => 'application/rdf+xml',
       
'rtf' => 'application/rtf',
       
'sgml' => 'text/sgml',
       
'sit' => 'application/x-stuffit',
       
'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
       
'svg' => 'image/svg+xml',
       
'swf' => 'application/x-shockwave-flash',
       
'tar.gz' => 'application/x-tar',
       
'tgz' => 'application/x-tar',
       
'tiff' => 'image/tiff',
       
'tsv' => 'text/tab-separated-values',
       
'txt' => 'text/plain',
       
'wav' => 'audio/x-wav',
       
'wma' => 'audio/x-ms-wma',
       
'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
       
'xls' => 'application/vnd.ms-excel',
       
'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
       
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
       
'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
       
'xml' => 'application/xml',
       
'zip' => 'application/zip',
       
'rar' => 'application/x-rar-compressed',
       
'rm' => 'application/vnd.rn-realmedia',
       
'rss' => 'application/rss+xml',

    ];