note 13583 added to function.stat.php
| From: | scott at graphictype dot com | Date: | Fri, 22 Jun 2001 16:27:14 +0000 |
| Subject: | note 13583 added to function.stat.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14563@lists.php.net to get a copy of this message | ||
Remember that arrays are numbered from 0, whereas this document page is numbered from 1.
$s = stat($file);
$bytes = $s[7];
*not* $s[8], as you might think from quickly glancing at the list of elements that stat() returns.
http://www.php.net/manual/en/function.stat.php