Mime types : header « HTML « PHP






Mime types

 
application/msexcel                            Microsoft Excel data file
 
application/msword                             Microsoft Word data file
 
application/octet-stream                       Generic binary file
 
application/pdf                                Adobe PDF
 
application/x-shockwave-flash                  Macromedia Flash
 
application/zip                                Zip file
 
audio/mp3                                      MP3
 
audio/wav                                      Wave sound file
 
audio/x-ogg                                    Ogg file
 
font/ttf                                       TrueType Font
 
image/bmp                                      MS Windows .bmp image
 
image/gif                                      GIF image
 
image/jpeg                                     JPEG image
 
image/png                                      PNG image
 
image/tiff                                     TIFF image
 
image/svg+xml                                  Scalable Vector Graphic (SVG)
 
text/html                                      HTML file
 
text/plain                                     Plain text
 
text/rtf                                       Rich-Text File
 
text/tab-separated-values                      Tab-Separated Values (TSV)
 
text/xml                                       XML
 
video/mpeg                                     MPEG video
 
video/quicktime                                Quicktime video
  
  








Related examples in the same category

1.Changing the page type to CSV
2.Changing the page type to XML
3.Setting a Cookie Using the header() Function
4.Logged In with cookie
5.Forcing File "Save As" Downloads
6.Good and bad Location headers
7.If a User Is Not Logged in, the Login Form Is Loaded
8.Using header() to Send Raw Headers
9.Setting character encoding
10.Sending an XML response
11.Sending Content Types Other Than HTML
12.Reading Queued Headers
13.Redirect header
14.Redirecting with query string variables