闲者博客 - PHP获取文件扩展名(后缀) 的评论 https://bk1314.com/37.html function getExtension($filename){ $myext = substr($filename, strrpos($filename, '.')); return...