Results 1 to 3 of 3

Thread: Upload progress bar in php?

  1. #1
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default Upload progress bar in php?

    I've created a php page with a form that users can upload files,
    This works fine.

    Can I use php to open up another window to show the progress of the upload?

    The majority of the files to be uploaded are over 20mb so it would be nice to show the user how long they have left to wait.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Currently this is impossible to do with PHP alone. However, I have seen many solutions to the problem. http://pdoru.from.ro/ offers a patch for PHP itself that makes this possible. I have also heard of using Perl to upload, and PHP to get the progress. And lastly, I have seen a site that used a java applet to pull this off.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •