<?php
define("_ER_UP_MIMETYPELOAD", "Error loading mimetypes definition");
define("_ER_UP_FILENOTFOUND", "File not found");
define("_ER_UP_INVALIDFILESIZE", "Invalid File Size");
define("_ER_UP_FILENAMEEMPTY", "Filename Is Empty");
define("_ER_UP_NOFILEUPLOADED", "No file uploaded");
define("_ER_UP_ERROROCCURRED", "Error occurred: Error #%s");
define("_ER_UP_UPLOADDIRNOTSET", "Upload directory not set");
define("_ER_UP_FAILEDOPENDIR", "Failed opening directory: %s");
define("_ER_UP_FAILEDOPENDIRWRITE", "Failed opening directory with write permission: %s");
define("_ER_UP_FILESIZETOOLARGE", "File size too large (Maximum %u bytes): %u bytes");
define("_ER_UP_FILEWIDTHTOOLARGE", "File width too large (Maximum %u px): %u px");
define("_ER_UP_FILEHEIGHTTOOLARGE", "File height too large (Maximum %u px): %u px");
define("_ER_UP_MIMETYPENOTALLOWED", "MIME type not allowed: %s");
define("_ER_UP_FAILEDUPLOADFILE", "Failed uploading file: %s");
define("_ER_UP_FAILEDFETCHIMAGESIZE", "Failed fetching image size of %s, skipping max dimension check..");
define("_ER_UP_UNKNOWNFILETYPEREJECTED", "Unknown filetype rejected");
define("_ER_UP_ERRORSRETURNED", "Errors Returned While Uploading");
define("_ER_UP_INVALIDIMAGEFILE", "Invalid image file");
define("_ER_UP_SUSPICIOUSREFUSED", "Suspicious image upload refused");
define("_ER_UP_INVALIDFILENAME", "Invalid file name");
define("_ER_UP_FAILEDSAVEFILE", "Failed to save file to %s");
?>