class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
When the meter will be part of PHP, I will see what is possible to do. But the class is a low-level tool, and the upload meter is a GUI thing. So...Reply
It can work with the dhtmlxVault script. Simple use the class to handle the upload in the file samples/php/UploadHandler.php that is provided in their package.
The class being low-level, it can be implemented in almost all upload scripts.Reply
Yes you were right it works perfectly!!! There were few things to correct for debugger ..$handle->log to work ...must say that it was very easy to implement now there is no need to use foreach(..) for multiple uploads ;)
...many many thanx for this excellent tool you're the bestReply
then for debugging .... correct file: GetInfoHandler.php
$id = $_POST['sessionId'];
$id = trim($id);
session_name($id);
session_start();
echo $_SESSION['value'];
/****** for debbuger `class.upload.php` uncomment this line *******/
//echo $_SESSION['error'];
if($_SESSION['value']==-1) {
session_destroy();
}
..and at last for output debugger find this line in file dhtmlXVault.js:
tblContent.rows[1].cells[0].innerHTML += "Done";
and add these lines bellow:
/****** for debugger `class.upload.php` uncomment this two lines *******/
//result = xmlHttp.responseText;
//tblContent.rows[1].cells[0].innerHTML += result;
More information here: http://pdoru.from.ro/
When the meter will be part of PHP, I will see what is possible to do. But the class is a low-level tool, and the upload meter is a GUI thing. So...
http://www.scbr.com/docs/products/dhtmlxVault/index.shtml
;)
The class being low-level, it can be implemented in almost all upload scripts.
There were few things to correct for debugger ..$handle->log to work
...must say that it was very easy to implement
now there is no need to use foreach(..) for multiple uploads ;)
...many many thanx for this excellent tool you're the best
Could you please copy and paste here your code, so that others can use it too?
this is UploadHandler.php ......
then for debugging .... correct file: GetInfoHandler.php
..and at last for output debugger find this line in file dhtmlXVault.js:
and add these lines bellow:
enjoy! :)
this line
cheers