How to show progress bar in PHP where i have to upload the file size of of 100MB? I cannot have APC installed. I am allowed to do so.. Help me out to get it done...
P.S > I DO NOT HAVE DEDICATED SERVER HENCE CANNOT USE APC
We 开发者_运维百科have PHP 5.2+
the most suitable one for is uploadify
its simple & powerful jquery plugin and it can support queuing ,
i had test it before writing this answer with out APC
it had successfully upload 500 MB , its very handy tool
for me the best choice is SWFupload...
check this demo: http://demo.swfupload.org/v250beta3/formsdemo/index.php just fill the form attach a file and click send... you will see how progress bar are approaching.
you don't need any server side scripts, besides the one to handle incoming file.
The best approach for uploading large files that I've seen yet is to use PLUpload. It supports file chunnking (using Flash, Gears, Silverlight or Browser Plus) which will also allow you to keep your PHP file upload limits set lower.
Plupload v1.2.3
Allows you to upload files using HTML5 Gears, Silverlight, Flash, BrowserPlus or normal forms, providing some unique features such as upload progress, image resizing and chunked uploads.
APC is really the best (read: only) choice you're going to get without recompiling PHP and using unsupported third-party patches.
Have you considered using a client-side plugin to perform the upload status information? There's Plupload, for example, which will pick from a variety of plugins that the user may have.
Why are you "not allowed" APC?
精彩评论