Look into the demos directory.
There are 2 demos shipped with ZF which show how file progress works.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "Andrei Iarus" <poni1...@yahoo.com>
To: "Zend Framework" <fw-general@lists.zend.com>
Sent: Thursday, December 03, 2009 9:08 AM
Subject: [fw-general] File Upload Progress


Hello,

How is PHP/the extension ZF aware of the UPLOAD_ID in the code from the documentation:

$adapter = new Zend_ProgressBar_Adapter_Console();
$upload = Zend_File_Transfer_Adapter_Http::getProgress($adapter);

$upload = null;
while (!$upload['done']) {
$upload = Zend_File_Transfer_Adapter_Http:getProgress($upload);
}

This documentation is tooken from http://zendframework.com/manual/en/zend.file.html#zend.file.transfer.introduction.uploadprogress

How should that parameter be passed, in case of an Ajax request?

Thanks.



Reply via email to