How to control the maximum upload size?
Hello!
I can not control the maximum size of a file. I do from here:
// Need to set errorMessage for all failure types: file size, isImage, image width, image height.
if($fileSizeLimit > 0 && $uploadedFile["size"] > ($fileSizeLimit*1000)){
$WA_DFP_UploadStatus[$statusName]["statusCode"] = 20;
$WA_DFP_UploadStatus[$statusName]["errorMessage"] = "File size of ".$uploadedFile["size"]." exceeded limit of ".$fileSizeLimit."KB";
$passedValidations = FALSE;
Please help me!