note 34504 deleted from function.filesize by vincent
| From: | vincent@php.net | Date: | Sat, 16 Aug 2003 21:08:42 +0000 |
| Subject: | note 34504 deleted from function.filesize by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54473@lists.php.net to get a copy of this message | ||
Note Submitter: thorsten.roth at alsvartr.de
----
Trying to read the names of directories contained in another directory i used
if (filesize($file)==0)
to check if those current "file" was a directory...that worked fine running under Windows
with Wampp but didn't work in any way running under Linux/Apache on my Webspace.
So Windows tells you the directory size is 0 (at least using NTFS..don't know if it's the
same case using FAT32). Seems the "problem" is caused by the case that NTFS has a MFT
which contains all the information about folders and files. So don't be as stupid as me ;)