note 72296 deleted from function.filesize by danbrown
| From: | danbrown@php.net | Date: | Sun, 18 Jan 2009 18:07:41 +0000 |
| Subject: | note 72296 deleted from function.filesize by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149410@lists.php.net to get a copy of this message | ||
Note Submitter: Randy Tayler
----
9U's snippet actually returns an array for Content-Length.
To get the filesize in bytes you'd want to say
$filesize = $ary_header['Content-Length'][1];