note 73379 added to function.disk-free-space
| From: | djneoform at gmail dot com | Date: | Tue, 20 Feb 2007 20:31:46 +0000 |
| Subject: | note 73379 added to function.disk-free-space | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-123611@lists.php.net to get a copy of this message | ||
Since I see this mistake all the time and don't understand why people keep making it, I'll
explain.
1 Kilobyte is 1,000 bytes NOT 1,024 Bytes
Instead, 1,024 Bytes can be translated to 1 Kibibyte.
http://en.wikipedia.org/wiki/Mebibyte
There's no reason to be dividing by 1024 when calculating sizes since hard drive manufacturers
don't use that method, instead they use 1000 bytes per Kilobyte.
----
Server IP: 216.235.15.211
Probable Submitter: 65.95.32.157
----
Manual Page -- http://www.php.net/manual/en/function.disk-free-space.php
Edit -- https://master.php.net/note/edit/73379
Del: integrated -- https://master.php.net/note/delete/73379/integrated
Del: useless -- https://master.php.net/note/delete/73379/useless
Del: bad code -- https://master.php.net/note/delete/73379/bad+code
Del: spam -- https://master.php.net/note/delete/73379/spam
Del: non-english -- https://master.php.net/note/delete/73379/non-english
Del: in docs -- https://master.php.net/note/delete/73379/in+docs
Del: other reasons-- https://master.php.net/note/delete/73379
Reject -- https://master.php.net/note/reject/73379
Search -- https://master.php.net/manage/user-notes.php