note 9476 added to filesize
| From: | skadney at home dot com | Date: | Mon, 06 Nov 2000 05:23:57 +0000 |
| Subject: | note 9476 added to filesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7426@lists.php.net to get a copy of this message | ||
When executing a "readdir" command, filesize doesn't seem able to get the size of
some files if they aren't in the same directory as the script. The workaround to this is
changing the working directory with "chdir" in addition to "readdir".
http://www.php.net/manual/function.filesize.php