SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2008
    Location
    Bristol ,England
    Posts
    177
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    uploading big files

    Hi I have built an upload page with the abilty to upload zip files and images no more that 8mb.It all works fine but while the upload is happening there is nothing to indicate how much is done or how much to do, is there a simple way doing this?

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2005
    Posts
    1,191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With PHP? no, but google ajax uploader, you'll probably find something you can use.

  3. #3
    SitePoint Zealot
    Join Date
    Sep 2008
    Location
    Bristol ,England
    Posts
    177
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool, will it intergrate with php ok as I want to keep the general form and error checking all in php

  4. #4
    SitePoint Zealot adam.jimenez's Avatar
    Join Date
    May 2009
    Location
    Ware, UK
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    swfupload is a good one and works with php.

  5. #5
    SitePoint Zealot
    Join Date
    Sep 2008
    Location
    Bristol ,England
    Posts
    177
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks adam.jimenez I will look into swfupload

  6. #6
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In PHP5.2 you can track upload progress.

    http://www.ibm.com/developerworks/li...525/index.html

    There are extensions for PHP4 that do the same.

    http://pecl.php.net/package/uploadprogress
    Fiji Web Design - Enterprise Web Design

  7. #7
    SitePoint Zealot adam.jimenez's Avatar
    Join Date
    May 2009
    Location
    Ware, UK
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i've used uploadprogress pecl extension before and it's ok. the main problem I had with it was that it can't accurately tell if the upload is bigger than the allowed limit until the upload is complete. which can mean a user staring at a blank screen for an hour.

    so because of that i'd prefer to use swfupload.


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
  •