jeudi 26 novembre 2015

Image mime type is different based on which PHP Server I use

I have this image file that when I test in my local environment then PHP determines it is of type

image/jpeg

However that same code and same image on my server gets detected as

application/octet-stream

What could be causing this behavior?

Image Size: 2.31 MB 
Name: ^EC91F66F648FD45E7BF3BE9D2169E239D41E49B794EA71E326^pimgpsh_fullsize_distr (1).jpg

Local Environment

PHP: 5.6.15

Live Environment

PHP: 5.6.9



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire