$czytaj = new Zend_File_Transfer_Adapter_Http(); $czytaj ->setDestination('ścieżka'); $czytaj ->receive('brak.jpg');
I otrzymuje pustą TABLICE . Jak mam to zrobić ?!?
$czytaj = new Zend_File_Transfer_Adapter_Http(); $czytaj ->setDestination('ścieżka'); $czytaj ->receive('brak.jpg');
$adapter = new Zend_File_Transfer_Adapter_Http(); $adapter->setDestination('ścieżka', 'brak.jpg'); $file = $adapter->getFileInfo ();
$file = $adapter->getFileSize ();
if($this->getRequest()->isPost()) { $adapter = new Zend_File_Transfer_Adapter_Http(); $adapter->setDestination( /* dest */ ); $adapter->receive(); exit; }
if($this->getRequest()->isPost()) { $el = new Zend_Form_Element_File(\'file\'); $el->setDestination( /* path */ ); $el->isValid( $this->_getParam(\'file\') ); var_dump($el->getFileSize()); // też zwraca poprawnie exit; }
const VERSION = \'1.10.2\';
$el = new Zend_Form_Element_File('brak.jpg'); $el->setDestination(' ... '); $el->isValid( $this->_getParam('brak.jpg') );
$file1 = "plik";