It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

uploading percentage indicator

Moderator: Malcolm

uploading percentage indicator

Postby john_zakaria on Tue May 18, 2010 12:54 pm

i am using php to upload flv files in server and it works well. a

ll that i need is to show loading indicator that shows the user the status of the uploaded file now

( like the download indicator in any program that shows for example: downloaded : 80% ).

i want to show the same idea but in uplaodng file

(uploaded : 1% , 20% ........ , 100% --> uplaod completed).

any idea??
john_zakaria
50+ Club
 
Posts: 59
Joined: Sun Feb 08, 2009 7:29 am

Re: uploading percentage indicator

Postby HotNoob on Sat May 22, 2010 10:20 pm

try using javascript to submit the data, than you can keep track of how much has been sent and how much is left to send.

Php doesn't have this sort of this, as far as i know. However, if you are lazy, you could send the data in an iframe, and then while the iframe is loading you can place a simple uploading screen over it... and when the file is done loading u can use javascript to tell the parent frame to remove the screen.
HotNoob
100+ Club
 
Posts: 169
Joined: Sun May 02, 2010 1:38 am


Who is online

Users browsing this forum: No registered users and 0 guests