iam using zend frame work 1.10 here iam using the following code for file
upload
the file is uploading into tmp but not the target location which i have
given in the set destination location plz help me out of this problem
public function uploadAction()
{
// action body
$up = new Application_Form_Fuldf();
$this->view->form = $up;
$a = $up->getvalues(file1);
if($this->getRequest()->isPost()) {
if($up->isValid($_POST)) {
$upload = new Zend_File_Transfer_Adapter_Http();
$fileup = $_SERVER['DOCUMENT_ROOT'].'/fileupload/';
$upload->setDestination($fileup);
}
--
View this message in context:
http://n4.nabble.com/File-upload-problem-tp663743p1597611.html
Sent from the Zend Framework mailing list archive at Nabble.com.