可能重复: 在PHP中获取上传文件扩展名的最佳方法/做法是什么
我们可以从$ _FILES ["file"] ["tmp_name"]中找出原始文件的扩展名吗?例如jpg或png等?谢谢.
php
php ×1