Tell me what are the ways in which the file can be detected as being uploaded or not?
Answer Posted / Jaya Dixit
In Zend Framework, you can use the Zend_File_Transfer class to handle file uploads. The $_FILES superglobal array contains information about all uploaded files. You can check if a file has been uploaded by checking whether its size is greater than 0. For example: if($_FILES['file']['size'] > 0).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers