note 8266 added to filesize
| From: | dark0ne at prodigy dot net | Date: | Sun, 03 Sep 2000 08:00:17 +0000 |
| Subject: | note 8266 added to filesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3980@lists.php.net to get a copy of this message | ||
To use filetype() or filesize() you need to be in the same dir as the file your working with.
ie.
$d = dir("directory");
$cwd = chdir("new dir");
$type = filetype();
$size = filesize();
http://www.php.net/manual/function.filesize.php