Posted by Tyno Gendo on 04/10/07 16:55
Tyno Gendo wrote:
> Tyno Gendo wrote:
>> Under windows, I can try is_file(), this always returns "" (nothing),
>> and if I try filetype($file) (as above on the echo) I can get 'dir'
>> for directories but get the following for files:
>>
>> Warning: filetype() [function.filetype]: Lstat failed for <filename>
>>
>
> I'm running PHP 5.2 on WinXP with Apache 2 if that helps.
... I just uploaded to a linux server to test, same result. Files exist
because i'm just recursing a directory now and printing out the names of
things that it finds along with an is_file($file) as well, always
returns <blank> :-/
[Back to original message]
|