如何在使用文件上传控件时进行文件验证? [英] How to do file validation while using file upload control?
本文介绍了如何在使用文件上传控件时进行文件验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在使用文件上传控件的同时进行文件验证?我如何检查选择文件是否选择了文件?我如何检查文件扩展名是否有效?
How to do file validation while using file upload control?how I have to check the choose file whether the file is choosen or not? how I have to also check the file extension is valid or not?
推荐答案
how-to-validate-file-type-in-file.html [ ^ ]
检查:
文件上传客户端和服务器端的控制验证 [ ^ ]
这篇关于如何在使用文件上传控件时进行文件验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文