Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($form->isValid($form->getValues())) {
- /* Uploading Document File on Server */
- $upload = new Zend_File_Transfer_Adapter_Http();
- $upload->setDestination("/public_html/public/uploads/");
- //echo $upload->getDestination();
- try {
- // upload received file(s)
- $upload->receive();
- } catch (Zend_File_Transfer_Exception $e) {
- $e->getMessage();
- }
- $mm->update($dados_act," id = '$id' ");
- } else {
- $form->populate($formData);
- }
Add Comment
Please, Sign In to add comment