摘要:
input : 检测真实的图片类型: getimagesize($file) 得到指定图片的信息。如果是图片返回数组 不是的话返回false. tmp_name 上传上来的临时文件。 阅读全文
posted @ 2015-04-21 10:41
BiuBiuBiu666
阅读(190)
评论(0)
推荐(0)
摘要:
1:function get_extension($file){//strrchr 返回 。jpg substr :1 是从1开始。 substr(strrchr($file,'.'),1) }2:function get_extension($file){//strrpos 返回出现... 阅读全文
posted @ 2015-04-21 10:18
BiuBiuBiu666
阅读(205)
评论(0)
推荐(0)

浙公网安备 33010602011771号