KoolUploader supports accessing status of uploading files. While the file uploading, you can access information such as uploaded bytes, estimated time left, average speed, uploading percentage and so on.
You may register handle for OnUpdateProgress event and get most updated uploading status.
*Note: If you run this example in localhost, the uploading process would be too fast for KoolUploader to get status.
span style="color: #ff0000;">"/KoolUploader/kooluploader.php""/KoolAjax/koolajax.php""kul");
$kul->scriptFolder = $KoolControlsFolder."/KoolUploader""handle.php";
$kul->allowedExtension = "gif,jpg,txt,doc,pdf";
$kul->styleFolder=$KoolControlsFolder."/KoolUploader/styles/default"//500KB
"form1" method="post""width:650px;""log" style="width:300px;height:200px;overflow:auto;background:#EEEEEE"></div>
</td>
</tr>
</table>
<script type="text/javascript">
kul.registerEvent("OnUploadDone"//Get all items
"ready""OnBeforeUpload"//Make sure that only one file is uploaded at a time.
//Cancel user click button to upload the file when there is file uploading.
//Get all items
"uploading""OnUpdateProgress"//Get all items
"Filename: <i>""</i>""Uploaded bytes: <i>""/""</i>""Elapsed time: <i>"" seconds</i>""Esimated time left: <i>"" seconds</i>""Average speed: <i>"" bytes/second</i>""log""<div style='white-space:nowrap;'>""</div>""log""""padding-top:20px;"
span style="color: #ff0000;">"Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
"Last-Modified: ""D, d M Y H:i:s") . " GMT");
// HTTP/1.1
"Cache-Control: no-store, no-cache, must-revalidate""Cache-Control: post-check=0, pre-check=0"// HTTP/1.0
"Pragma: no-cache");
$KoolControlsFolder = "../../../../KoolControls""/KoolUploader/kooluploader.php";
//Create handle object and edit upload settings.
"../../Temp""gif,jpg,doc,pdf,txt";
//Call the handle function to handle the request from client