PHP Header - Content-type: image/jpeg - Not working for Internet Explorer

后端 未结 4 1246
别跟我提以往
别跟我提以往 2021-01-12 05:41

We all hate Internet Explorer when building HTML templates, or modifying websites. Well I recently built a PHP image script to hide the location of the URL. It works fine fo

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-12 06:08

    Internet explorer uses the mime type image/pjpeg. You use pjpeg for IE and jpeg for other browsers.

    header("Content-Type: image/pjpeg");
    

    Source: image/pjpeg and image/jpeg

提交回复
热议问题