[pmwiki-users] UploadMaxSize - correct units?

adam overton a at plus1plus1plus.org
Thu Jul 10 03:25:12 CDT 2008



hi
is the math of this correct?
this is what's on the 'upload variables' page: http://www.pmwiki.org/ 
wiki/PmWiki/UploadVariables#UploadPrefixQuota

	$UploadMaxSize
	    Maximum size for uploading files (50000 octets by default)

	Units are in bytes.
	 100K: 100000;
	  1MB: 1000000;
	  1GB: 1000000000;
	  1TB: 1000000000000;

i'm getting mixed up because I also see notes on the UploadsAdmin  
page insisting that the following is correct:

	100K: 102400;
	 1MB: 1048576;
	 1GB: 1073741824;
	 1TB: 1099511627776;


the math i'm finding on the web is also confirming the latter...
wondering which one to choose...
thanks!
adam



More information about the pmwiki-users mailing list