is_file() and is_dir() info
| From: | Gonyou, Austin | Date: | Wed, 25 Jul 2001 17:08:29 +0000 |
| Subject: | is_file() and is_dir() info | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59575@lists.php.net to get a copy of this message | ||
I've read a lot about the is_file and is_dir functions, but something is
still missing. If I call is_file to tell me if something is a file or not,
and it must traverse a large path, e.g. ./dir1/dir2/file.txt, it will almost
always fail. Can anyone tell me why, and what a possible work around is? I
guess I could CHDIR() first or something.
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@coremetrics.com