I donβt remember ever seeing a fully detailed tutorial explaining how to get a progress bar to download from the Zend Framework; but here are some pointers that will help you a bit if you already know what PHP is, file uploads and Zend Framework ...
First of all, you will need one of these two PHP extensions:
, , ( , ).
"" ; APC; RFC 1867.
Zend Framework, , Zend_Form_Element_File . , - , , btw.
, , , , Zend_ProgressBar, ,
, , ( ):
$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);
}
, , -, - Ajax-.
uploadprogress :
Zend Framework, , ; -)
, , , , ... , ; - ...
, "" ; :
, ; -)
, : - ? ; -)