PHP file upload - check file size of files larger than .ini max?
<p>My hosts server has an .ini upload_max_filesize of 4mb. I have written some PHP which checks the file size of the upload and throws an error if that size is exceeded. Problem is if the file they are trying to upload is larger than the .ini setting of 4mb my code doesnt get executed as the $_FILES variable shows file size of 0 and error code 1. Is there a way i can check the size of an upload that is bigger than what is set in .ini??</p>

<p>Thanks</p>

<p>Paul</p>
