Welcome Guest, Not a member yet? Register   Sign In
File Upload - image too large (but its not?)
#1

[eluser]matt2012[/eluser]
Ive just moved some code to a new server and im getting an error using the file upload library saying the files im attempting to upload are too large. But there not.

Code:
$config['max_size']  = '500';
        $config['max_width']  = '2000';
        $config['max_height']  = '1000';

The error I get is..

Code:
The image you are attempting to upload is to large.

when I email myself the upload data I get..

Code:
a:13:{...s:9:"file_size";d:68.7000000000000028421709430404007434844970703125;...}

The file size here is right the odd thing is the number of decimals is this whats causing the bug and how would I sort this out?

cheers


Messages In This Thread
File Upload - image too large (but its not?) - by El Forum - 09-02-2009, 04:24 AM
File Upload - image too large (but its not?) - by El Forum - 09-02-2009, 04:34 AM
File Upload - image too large (but its not?) - by El Forum - 09-02-2009, 05:00 AM
File Upload - image too large (but its not?) - by El Forum - 09-02-2009, 10:40 PM
File Upload - image too large (but its not?) - by El Forum - 09-03-2009, 02:44 AM
File Upload - image too large (but its not?) - by El Forum - 10-29-2009, 11:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB