Now, I don't have any real code to back my theory up but I see it as this.
Have this progress bar:http://www.dynamicdrive.com/dynamici...lprogress3.htm in an iframe on the page that your uploading and set a meta tag to auto refresh every 5 seconds or so. Have the PHP get the file size of the temporary file size and divide by the total file size, then multiply the answer by 100:
Code:
$amount_uploaded = filesize($uploadedfile['name']);
$decimal_uploaded = $amount_uploaded/$uploadedfile['size'];
$percent = $decimal_uploaded*100;
something like that (please fix my code if necessary).
That's the percent done, then just send the percent done to the progress bar:
Code:
<script>
setCount(<?php echo $percent; ?>);
</script>
... that refeshes every 5 seconds or whatever.
Bookmarks