Re: Suggestions of some good, simple file upload 'in progress' code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on 04/22/2009 04:46 PM scubak1w1 said the following:
> I am thinking that is where I am at... as you said, the user just needs to 
> know that there computer is busy, hang on a second already!  <grin>
> 
> I like those icons - if I may be so bold though, and excuse the broadness of 
> the question, are you / can you use some Javascript to display this as the 
> file uploads? I am already using AJAX on the page/form so I guess I could 
> add an icon to the page before I run the PHO to upload the file, yes?

You may want to take a look at this forms class that comes with an
upload progress plug-in.

http://www.phpclasses.org/formsgeneration


That plug-in sends an AJAX/COMET request when the form upload starts and
the files are long enough, it shows a progress bar with some statistics
like upload speed, transferred data, remaining time, etc.. Here you can
see it working live:

http://www.meta-language.net/forms-examples.html?example=test_upload_progress

You may also want to watch this tutorial video:

http://www.phpclasses.org/browse/video/1/package/1/section/plugin-upload-meter.html


-- 

Regards,
Manuel Lemos

Find and post PHP jobs
http://www.phpclasses.org/jobs/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux