在html中读取上传的文本文件内容 [英] Reading uploaded text file contents in html

查看:122
本文介绍了在html中读取上传的文本文件内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在html中显示上传文件的内容,我可以上传一个文本文件。
我的example.html:

 < html xmlns =http://www.w3.org/1999 / xhtml> 
< p>
请指定一个档案或一组档案:< br>
< input type =filename =datafilesize =40>
< / p>