开发者

Most reliable method for uploading files in PHP w/ progress bar

I am interested in finding the most reliable method for uploading files in PHP. I need a progress bar with the upload.

I have tried SWFUpload but it randomly issues an I/O Error. Even if the same file is uploaded sometimes there is an error and sometimes there is not. I have configured all the necessary INI/Mysql/Apache directives to accept large file uploads.

So, I am looking for alternatives as a Flash ba开发者_Python百科sed solution has not worked. Would Java be more reliable? I have also looked into PHP with APC.

I definitely cannot afford these random errors, so any help on reliable software / suggestions on how to minimize them would be appreciated.

Thank you.


There are other flash based solutions other than SWFupload. Have a look at uploadify.com


I haven't come around to try this myself yet but http://www.plupload.com/ might be what you're looking for on. But otherwise PHP + APC works good as well.


I am assuming 2 things here:

1) Some kind of client will be doing the file upload

2) You get some kind of say on what the client installs on their computer to help make this happen.

If this is the case, my first suggestion would be:

Give them FTP or SFTP client software to upload files. The php page you make can have a link to Filezilla, along with instructions on how to use it. ftp and sftp are THE protocols to use for transferring files. HTTP is just not designed(well) for it, nor are browsers.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜