note 51904 deleted from function.filesize by aidan
| From: | aidan@php.net | Date: | Wed, 13 Jul 2005 03:17:02 +0000 |
| Subject: | note 51904 deleted from function.filesize by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91855@lists.php.net to get a copy of this message | ||
Note Submitter: basslines at gmail dot com
----
The function that huda posted below works well enough for small files but if you are trying to find
the size of, say, a 60 meg file .. you do not want to download the entire thing every time you are
checking the size. Keep this in mind if you want to use it. The best way to do it is to read the
content length returned by an HTTP request, hands down.