Reply to Re: is_subdir

Your name:

Reply:


Posted by Chung Leong on 10/31/52 11:52

André Hänsel wrote:
> Hi,
>
> is there a function like is_subdir in PHP?
>
> It's not, is it?
>
> Is there a way to achieve its functionality (which is probably clearly
> explained by its name ;)) in PHP?
>
> Regards,
> André

If you mean a function that tells you whether a directory is a
sub-directory in another, that answer is no. You can approximate it
from getting the absolute path of both with realpath() and then compare
them.

[Back to original 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

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