note 66960 added to function.filesize
| From: | ignorante dot br at gmail dot com | Date: | Thu, 01 Jun 2006 17:09:01 +0000 |
| Subject: | note 66960 added to function.filesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112785@lists.php.net to get a copy of this message | ||
When I need a remote filesize for text files (like XML) I use:
strlen(file_get_contents($file_path));
I'm not sure if it works with binary files though.
----
Server IP: 200.185.109.13
Probable Submitter: 143.107.174.58
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.filesize.php
Edit -- http://master.php.net/note/edit/66960
Del: integrated -- http://master.php.net/note/delete/66960/integrated
Del: useless -- http://master.php.net/note/delete/66960/useless
Del: bad code -- http://master.php.net/note/delete/66960/bad+code
Del: spam -- http://master.php.net/note/delete/66960/spam
Del: non-english -- http://master.php.net/note/delete/66960/non-english
Del: in docs -- http://master.php.net/note/delete/66960/in+docs
Del: other reasons-- http://master.php.net/note/delete/66960
Reject -- http://master.php.net/note/reject/66960
Search -- http://master.php.net/manage/user-notes.php