简体   繁体   English

jQuery文件上传插件,可记住先前上传的文件

[英]jquery file upload plugin which remembers the previously uploaded files

I have a text box on my webpage. 我的网页上有一个文本框。 Users can input text there which I later process by a PHP file and save on my server. 用户可以在那里输入文本,稍后由PHP文件处理该文本并将其保存在服务器上。

Does a jquery plugin exists which will upload files for me and when I go back to my webpage I can see the files previously uploaded and can run my previous php file on the contents of any selected and previously uploaded file? 是否存在一个会为我上传文件的jquery插件,当我返回网页时,我可以看到以前上传的文件,并且可以在任何选定的和先前上传的文件的内容上运行以前的php文件?

File uploads are handled server-side, in PHP in your case, not client-side in jquery. 文件上载是在服务器端处理的(在您的情况下是在PHP中),而不是在jquery的客户端处理。 You can read about them in the PHP manual . 您可以在PHP手册中阅读有关它们的信息

What you do with them, once they are on the server, is up to you - so you can make your page display previously uploaded files, or process them in some way. 将它们放在服务器上后,您将如何处理它们-由您决定-因此您可以使页面显示以前上传的文件,或以某种方式处理它们。

You mean something like this? 你的意思是这样的吗? blueimp.github.com/jQuery-File-Upload/ blueimp.github.com/jQuery-File-Upload/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM