You are here: Re: is_file under windows « PHP Programming Language « IT news, forums, messages
Re: is_file under windows

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> :-/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация