$maxFileSize = 1024 * 1024 * 10; // Max 10MB
In what way does 1024 x 1024 x 10 equal 10MB and what would 50 MB equal to?
1 megabyte equals 1024 kilobytes, which equals 1024 bytes.
(1024 bytes = 1 KB) x (1024 = 1 MB) x 10 = 10 MB
50 MB would be:
(1024 bytes = 1 KB) x (1024 = 1 MB) x 50 = 50 MB
If the 1024 is 1024k then that would equal 10MB. 50MB would be 1024k x 1024k x 50.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With