I'm not sure if the PHP forum is the right place for my questions, but i'm stuck and would like any guidance.

I'm creating a facebook app using PHP. The functionality for my app is completed,and now i'm working on improving the UI.

On the main page (index.php) of my app there is a form which post data to upload.php. A user is promted to upload three few files (each approx 2-6M😎 . My php code process these files and stores them on Amazon's S3 servers. once the files are upload, the user is redirected to another page (canvas.php). Functionalty wise, my code works.

MY PROBLEM: file upload for multiple large files takes a really, really long time, and during the upload and processing the user is stuck on index.php. How do i solve this problem? Can my problem be solved using PHP? Or do i need to use other technologies (like javascript). Currently, I do not even have a proper progress bar. Only the browser's progress bar at the very bottom tells me the file is still uploading.

Thanks in advance for all your help.

    they should upload as fast as the users connection allows, nothing you can do will increases the speed.

      I agree that the speed of the upload is restricted by the user's connection; however, i'm looking for suggestions on how i can make the UI better for the user while the upload is taking place.

      Are there some tools available to implement a nice progress bar? Can i create a separate thread in the background to handle the upload? Can I redirect the user to the canvas.php page while the upload continues?

      I'm completely lost so any direction would be greatly appreciated.

      Thanks.

      --Deven

        Write a Reply...