Call to undefined function exif_imagetype()

后端 未结 3 1975
悲哀的现实
悲哀的现实 2020-12-18 21:49

I am trying to get Mime-Type for image-types as follow:

if(!empty($_FILES[\'uploadfile\'][\'name\']) && $_FILES[\'uploadfil         


        
3条回答
  •  北海茫月
    2020-12-18 22:03

    Add this to your code so as we could know which version of php you do have because this function is only supported by (PHP version 4 >= 4.3.0, PHP 5).

     
    

    It may be not installed, you can add this part of code to make sure it is :

    
    

提交回复
热议问题