1.

Before you try to process the file, you need to make sure that your $err value is equivalent to _________(a) UPLOAD_ERR_OK(b) UPLOAD_NO_ERR(c) UPLOAD_ERR_NO_OK(d) UPLOAD_ERRI had been asked this question by my school teacher while I was bunking the class.I'd like to ask this question from Image Uploading Ability topic in chapter Objects and Databases in PHP of PHP

Answer»

Correct OPTION is (a) UPLOAD_ERR_OK

The explanation is: When you’re dealing with files uploaded through an HTML form, you have access to a SPECIAL CONSTANT CALLED UPLOAD_ERR_OK that TELLS you whether a file uploaded successfully.



Discussion

No Comment Found

Related InterviewSolutions