Calc the max size for an uploaded file and display it to the user.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 11 Mar 2003 15:05:11 +0000 (15:05 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 11 Mar 2003 15:05:11 +0000 (15:05 +0000)
commit0a2c3218acf2baa344d3ffd1c88c74cc1cca2740
tree4ec21ea001b1cc5f7d821951c7734c332dca9315
parent491696a82ef78b134758fc56089d25fc3f70edff
Calc the max size for an uploaded file and display it to the user.
This is informational to prevent large file uploads to fail.
Becasue PHP stores sizes like "8M" we have to calculate the bytesize first.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4640 7612ce4b-ef26-0410-bec9-ea0150e637f0
src/compose.php