Vidyalelo
PHP · Q57

HTML Forms Handling

Programming · PHP · question 57

Q57

Before you try to process the file, you need to make sure that your err value is equivalent to _________

A.
UPLOAD_ERR_OK
Answer
B.
UPLOAD_NO_ERR
C.
UPLOAD_ERR_NO_OK
D.
UPLOAD_ERR

Answer: Option A

Solution

Answer: Option A
Solution:
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.