You are here: Re: Determining if a file exists « PHP Programming Language « IT news, forums, messages
Re: Determining if a file exists

Posted by Carl Vondrick on 08/11/07 00:44

Bob Sanderson wrote:
> if (file_exists($filename))

You may consider is_readable() instead. If the file exists but you cannot
read it, file_exists() will still return true. If the file does not exist
or you cannot read it, is_readable() returns false.

 

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

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