How to check if something is a sub-directory?
- From: "laredotornado@xxxxxxxxxxx" <laredotornado@xxxxxxxxxxx>
- Date: Thu, 28 Feb 2008 15:44:18 -0800 (PST)
Hi,
Is there a more sophisticated way, beyond the "strstr" function, to
check if $dir1 is a sub-directory of $dir2, both being strings? You
may assume that both are absolute paths.
Thanks ,- Dave
.
- Follow-Ups:
- Re: How to check if something is a sub-directory?
- From: Rik Wasmus
- Re: How to check if something is a sub-directory?
- Prev by Date: Re: Can anybody communicate with the operating system without the php server?
- Next by Date: Re: How to check if something is a sub-directory?
- Previous by thread: template sctipt execution time
- Next by thread: Re: How to check if something is a sub-directory?
- Index(es):
Relevant Pages
|