182 UPLOAD_ERR_INI_SIZE => "The uploaded file exceeds the upload_max_filesize directive in php.ini.",
183 UPLOAD_ERR_FORM_SIZE => "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.",
184 UPLOAD_ERR_PARTIAL => "The uploaded file was only partially uploaded.",
185 UPLOAD_ERR_NO_FILE => "No file was uploaded.",
186 UPLOAD_ERR_NO_TMP_DIR => "Missing a temporary folder.",
187 UPLOAD_ERR_CANT_WRITE => "Failed to write file to disk.",
188 UPLOAD_ERR_EXTENSION => "A PHP extension stopped the file upload. PHP does not provide a way to ascertain which extension caused the file upload to stop.",
189 self::UPLOAD_ERR_FILE_EXTENSION => "The uploaded file has an unallowed extension.", // @todo add error message to form