rtoss - Rev 52

Subversion Repositories:
Rev:
<?php
if(isset($_GET['progress_key'])) {
        $status = apc_fetch('upload_'.$_GET['progress_key']);
//      print_r($status);
        echo $status['total']?($status['current']/$status['total']*100):'0';
}
?>