Re: Unix problem
| From: | B. van Ouwerkerk | Date: | Sat, 19 May 2001 15:42:59 +0000 |
| Subject: | Re: Unix problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53530@lists.php.net to get a copy of this message | ||
while ($Directory=readdir($DirHandle)) { $IsFile = is_file($Directory); $IsDir = is_dir($Directory); echo " is file=$IsFile - is dir=$IsDir\n";This is a wild guess.. UPPER and lowercase used instead of only upper of only lowercase.. Spaces in file or directory names.. Bye, B.Works fine on Windows box, on a Unix box (RedHat) bothis_file() and is_dir() return null no matter what the contents of $Directory is.