开发者

Uploading file using HTML

Can anyone show me how to create an HTML page that allows to uploa开发者_JAVA百科d files? It will be really appreciated.


File uploads cannot be done purely in HTML. You must have some kind of server logic to process the Multipart-data from the HTML-form (by using ASP.Net, PHP or whatever).


You can't do it in pure HTML, you need a script on server side to store the file.

If you can use PHP, check the manual on handling file uploads for details.


http://www.cs.tut.fi/~jkorpela/forms/file.html

You would need some server side componenet ot store the uploaded content for you. There are near to infinite options for that. :) Also, you have styled File uplaod components provided by various Ajax libraries and Tool kits like DOJO ,jQuery that make it look more nice and provide various flavors to do this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜