note 17723 deleted from function.filesize by jimw
| From: | jimw@php.net | Date: | Wed, 02 Jan 2002 01:47:14 +0000 |
| Subject: | note 17723 deleted from function.filesize by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24108@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