Multiple choice technology web technology

When uploading a file if the UPLOAD_ERR-OK contains value 0 it means

  1. Uplaod is not successful, error occurred

  2. The file uploaded with success

  3. Uploaded file size is 0

  4. File upload progress is 0% completed

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

UPLOAD_ERR_OK is a PHP constant that equals 0, indicating the file was uploaded successfully without any errors. Option A incorrectly suggests 0 means an error occurred, when in fact 0 is the success code. Options C and D misinterpret the meaning of 0 as referring to file size or progress percentage.