获取(二进制文件的)$ _ FILES临时名称 [英] Get $_FILES temp name (of the binary file)
本文介绍了获取(二进制文件的)$ _ FILES临时名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我很麻烦,这是$_FILES['file']['tmp_name']
/Applications/XAMPP/xamppfiles/temp/phpjCag18
我想获取临时二进制文件名,因此在这种情况下phpjCag18
i would like to get the temp binary filename so in this case phpjCag18
反正可以从$_FILES[]
那里获得它吗?
Is there anyway to get it from the $_FILES[]
?
何将其清理干净?
推荐答案
如果我对您的理解正确:
If I understand you correctly:
basename($_FILES['file']['tmp_name'])
这篇关于获取(二进制文件的)$ _ FILES临时名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文