Hi,
I have a form that allows people to upload a picture. I am currently using these lines to check the filesize.
$picsize = $_FILES['image']['size'];
if ($picsize >= 102400){
Through doing searches on this board I found that I can use a hidden field called "MAX_FILE_SIZE" to accomplish the same thing, but also to check to see if it is too big so that they dont have to wait for the entire thing to upload to find out its oversized.
I tried inputting a hidden MAX_FILE_SIZE field before the filefield and set the value to 102400. The results were that it seemed liked it would upload the entire thing, but then not use it. Is there a way to check the size before the whole thing uploads?
Thanks