Hey,

With the following code

PHP Code:
    if($_FILES['photoname']['size'] >= 2097152) { 
      
$error_msg 'Combined file size is to large';
    } 
Whether I upload one file or 3 files that add up to less than 2mb total, the error message comes back that the file size is to large..

Is the above code wrong?

Thanks