How can I detect if an optional file has been uploaded?



How can I detect if an optional file has been uploaded?..

Answer / Amit Kumar Jha

When using Zend's FileUpload, you can check the isValid() method of the FileUpload object. If it returns true, the file was successfully uploaded; otherwise, it wasn't.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Zend Interview Questions

How can I detect if an optional file has been uploaded?

1 Answers  


Grouping where clauses with zend_db_table_abstract ?

1 Answers  


How to protect your website from sql injection in zend using select query?

1 Answers  


How to get all get data?

1 Answers  


Tell me what is the function of model in mvc architecture?

1 Answers  


Write a program to show the function of action helper?

1 Answers  


How to write a program that performs the calculations using the sql function?

1 Answers  


How do you define the library path in zend ?

1 Answers  


What is authorization in zend framework?

1 Answers  


How to make pdo run set names utf8 each time I connect, in zendframework?

1 Answers  


Can we move the index.php file outside the public folder?

1 Answers  


How to write a program to show the function of action helper?

1 Answers  


Categories