note 17723 added to function.filesize
| From: | fernandohu at bol dot com dot br | Date: | Fri, 21 Dec 2001 00:27:50 +0000 |
| Subject: | note 17723 added to function.filesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-23622@lists.php.net to get a copy of this message | ||
Don't forget that filesize(pathname) requires the filename path, and not a variable pointing to
a file.
RIGHT WAY:
filesize("php1.php");
WRONG WAY:
$arq = fopen(..);
filesize($arq); // this is wrong
--
http://www.php.net/manual/en/function.filesize.php
http://master.php.net/manage/user-notes.php?action=edit+17723
http://master.php.net/manage/user-notes.php?action=delete+17723
http://master.php.net/manage/user-notes.php?action=reject+17723