检查文件类型。 [英] Checking for file type.
本文介绍了检查文件类型。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在努力确保可以上传某种类型的仅个文件。
为什么这不起作用?
(这是代码片段......不是整个文件)
I am trying to ensure that only files of a certain type can be uploaded.
Why doesn''t this work??
(It''s a code snippet..not the whole file)
展开 | 选择 | Wrap | 行号
推荐答案
看起来应该可以工作
looks like it should work
展开 | 选择 | Wrap | 行号
看起来应该可以工作
looks like it should work
展开 | 选择 | Wrap | 行号
我还想看看KevinADC提供了什么,但我觉得这个相当紧张,但不确定它的效率。
I would also like to see what KevinADC offers, but I feel like this is fairly tight and just not sure on the efficiency of it though.
展开 | 选择 < span class =codeDivider> | Wrap | 行号
这篇关于检查文件类型。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文