Mime Types

Mime Types used to deliver content on the Internet.

  1. The HTML Mime Type is the default used by PHP, and you need to actively change it to deliver other types of content.
  2. About using the PNG mime type to deliver images to clients from the server side.
  3. Information about the WebP content type, and how we might handle webp images in PHP.
  4. There has been some confusion about which mime type is correct for plain text on the web, and while both might work, only one is correct.
  5. Tutorial on delivering jpeg files with the correct mime type and headers using PHP.