Re: Progressbar

From: Date: Wed, 24 Jun 2009 10:24:10 +0000
Subject: Re: Progressbar
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-294513@lists.php.net to get a copy of this message
Morris wrote:
Assumed you are using form uploading, could redirect to the page itself and play a Flash while uploading. I think this is the simplest way other than putting in mass codes
I open up a small window via javascript that then uses javascript and css to make a progress bar. I'll share the code if anyone wants it, though it probably needs some tweaking as I don't think it validates. It works though.
M 2009/6/24 Michael A. Peters <mpeters@mac.com <mailto:mpeters@mac.com>>
    Teun Lassche wrote:
        I'm making an upload script with PHP, is there a way I can show a
        progressbar while uploading?
    Yes.
    Assuming you are using php 5.2.x you can use the PECL extension
    uploadprogress.
    http://pecl.php.net/package/uploadprogress/
    I am successfully using it with php 5.2.9 on i386 and x86_64
    --     PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#294513) next »