depage-forms
v1.4.1
html forms made easy
Loading...
Searching...
No Matches
uploadprogress.php
Go to the documentation of this file.
1
<?php
2
3
$json
[
'apc_enabled'
] = function_exists(
'apc_fetch'
);
4
5
if
(isset($_GET[
'APC_UPLOAD_PROGRESS'
]) && !empty(
$json
[
'apc_enabled'
])) {
6
$status = apc_fetch(
'upload_'
. $_GET[
'APC_UPLOAD_PROGRESS'
]);
7
8
if
($status) {
9
$json
[
'percent'
] = (!empty($status[
'total'
]))
10
? $status[
'current'
] * 100 / $status[
'total'
]
11
: 0;
12
}
13
}
14
15
echo json_encode(
$json
);
$json
$json['apc_enabled']
Definition
uploadprogress.php:3
uploadprogress.php
Generated on
for depage-forms by
doxygen
1.14.0
For an overview of all docs, go to
docs.depage.net