问题描述
我们可以将php文件上传设置为后台进程吗?我的意思是我将选择文件并单击上载按钮,然后关闭浏览器.但是该过程应该在后台进行,成功完成后,我还需要更新数据库.请指教.谢谢
Can we set the php file upload as a background process? I mean I will select files and click upload button and then close the browser. But the process should be on the back ground and after successful completion i need to update the database as well. Please advice. Thanks
推荐答案
否,如果关闭客户端,则客户端将停止向服务器发送数据.
No, if you shut down the client, then the client will stop sending data to the server.
如果您要定期上传大文件,而又不会因为忘记了浏览器正在另一个标签页中上传而退出的过程而中断了该过程,那么您可以考虑使用独立的上传工具(如下所述) Flickr Uploadr ).
If you want to upload large files on a regular basis and not have the process be interrupted by people forgetting that their browser is uploading in another tab and quitting, then you might consider using a stand-alone upload tool (along the lines of Flickr Uploadr).
这篇关于即使关闭浏览器后也上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!