img_info[1], "type"=>img_type "size"=>img_size } return new_img_info; } ?> http://www.bkjia.">
时间:2021-07-01 10:21:17 帮助过:2人阅读
http://www.bkjia.com/PHPjc/319761.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/319761.htmlTechArticle 代码如下:?php function getimageinfo(img) { //img为图象文件绝对路径 img_info = getimagesize(img); switch (img_info[2]) { case 1: imgtype = "gif"; break; c...