note 50665 added to function.filesize
| From: | RaphaelKirchner at osu1 dot php dot net | Date: | Sun, 06 Mar 2005 14:52:57 +0000 |
| Subject: | note 50665 added to function.filesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85997@lists.php.net to get a copy of this message | ||
Addition to my earlier post: I searched around and found the background in the notes for
disk_total_space(): http://www.php.net/manual/en/function.disk-total-space.php
To give a short summary here - andudi pointed out that
a) the SIZE of a file and
b) the SPACE on disk it uses
aren't equal and shalless provided a function dskspace() which returns exactly (tested!) what
"du" would.
----
Manual Page -- http://www.php.net/manual/en/function.filesize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50665
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50665&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50665&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50665&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50665&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50665&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50665&report=yes
Search -- http://master.php.net/manage/user-notes.php