root / getprogress.php @ 7f9aab46
1 |
<?php
|
---|---|
2 |
header('Expires: Tue, 08 Oct 1991 00:00:00 GMT'); |
3 |
header('Cache-Control: no-cache, must-revalidate'); |
4 |
|
5 |
if(isset($_GET['uid'])){ |
6 |
$status = apc_fetch('upload_' . $_GET['uid']); |
7 |
$url = apc_fetch('link'); |
8 |
$message = apc_fetch('info'); |
9 |
echo round($status['current']/$status['total']*100)."#".$url."#".$message; |
10 |
} |
11 |
?>
|