Page 1 of 1
Files
Posted: Sat Jan 29, 2005 11:53 pm
by psychotomus
<input type="hidden" name="MAX_FILE_SIZE" value="1024">';
Is that 1MB or 1KB?
Posted: Sat Jan 29, 2005 11:55 pm
by John Cartwright
There are 1024 kb in 1 megabyte, so yes, it's in KB
Posted: Sun Jan 30, 2005 12:03 am
by feyd
that's 1K..
Posted: Sun Jan 30, 2005 9:10 am
by d3ad1ysp0rk
Phenom wrote:There are 1024 kb in 1 megabyte, so yes, it's in KB
Yes, but there are 1024 bytes in a kilobyte, so..

Posted: Sun Jan 30, 2005 11:20 am
by John Cartwright
So am I right, or what, you got me confused lol
Posted: Sun Jan 30, 2005 3:47 pm
by feyd
MAX_FILE_SIZE is the byte count limit used if lower than the php ini file setting.
Posted: Sun Jan 30, 2005 7:34 pm
by psychotomus
so 1MB would be how much?
<input type="hidden" name="MAX_FILE_SIZE" value="1,056,024">';
or is that 10mb?
Posted: Sun Jan 30, 2005 10:23 pm
by feyd
provided you remove the commas, that's just over 1MB. 1048576 is literally 1MB.