On Jan 2, 2006, at 1:30 PM, Martin Zvarík wrote:
is it possible to upload a file and see the process of uploading (before the file is uploaded, there is something showing from 0% to 100%) using PHP and Javascript ?
My main dig with using PHP[0] is that (AFAIK) there is no good way to give the user some feedback in terms of percentage uploaded.
I would suggest that you look-into AJAX[1] and/or Flash8[2]. F8 now has file upload capabilities - and both will allow for you to give the user feedback, letting them know (among other things) how long they have to wait. I am personally very impressed by F8, the example I give[2][3] is pretty darn cool!
(Read the comments also:) [0] http://us2.php.net/manual/en/features.file-upload.php [0] http://us2.php.net/manual/en/function.is-uploaded-file.php [0] http://us2.php.net/manual/en/function.move-uploaded-file.php (Just did a google search, these were the first I found.:) [1] http://encodable.com/tech/ajaxupload/ [1] http://www.devpro.it/upload_progress/ [2] http://www.tink.ws/blog/filereference-example/ [3] http://snipurl.com/l8n5 Hth, Micky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php