b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

exif_imagetype_type="image"_type=reset

电脑杂谈  发布时间:2017-06-07 08:06:30  来源:网络整理

exif_imagetypeexif_imagetype

I think the problem is PHP config and/or version, for example, in my case:

We know exif_imagetype() takes a file path or resource and returns a constant like IMAGETYPE_GIFand image_type_to_mime_type() takes that constant value and returns a string 'image/gif', 'image/jpeg', etc.This didn't work (missing function exif_imagetype), so I've found that image_type_to_mime_type() can also take an integer 1, 2, 3, 17, etc. as input, so solved the problem using getimagesize, which returns an integer value as mime type:


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/shumachanpin/article-51576-1.html

    相关阅读
      发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

      热点图片
      拼命载入中...