如何从一个文件上传器上传pdf文件,视频,图像和文本文件 [英] How to upload pdf file,video,images and text file all from one file uploader
本文介绍了如何从一个文件上传器上传pdf文件,视频,图像和文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想上传图像,文本文件,视频,pdf,excel文件,只需一个文件上传器。
并且还想播放视频。在gridview中显示文件。
我用它,javascript,jquery或只是文件上传?
I want to upload images,text files,videos,pdf ,excel files all with only one file uploader.
and also want to play video. and show that files in gridview.
What i use for that,javascript,jquery,or simply file upload?
推荐答案
最好相应地检查文件扩展名和代码。根据扩展名,您还可以显示相应的图标。
Better you check file extension and code accordingly. As per extension you can show the respective icon also.
这篇关于如何从一个文件上传器上传pdf文件,视频,图像和文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文