Posted by Jeff Johns on 12/30/05 06:29
Are you not getting anything in return for the files that do not
produce a type?
>From the manual:
"Returns FALSE if an error occurs. filetype() will also produce an
E_NOTICE message if the stat call fails or if the file type is
unknown."
Set your error reporting for the script to report all errors to try an
pinpoint what is happening. It is hard to tell not seeing the rest of
the script and your filesystem.
Navigation:
[Reply to this message]
|