Re: having trouble with is_file() and is_dir() on 5.1.2

From: Date: Tue, 23 Jan 2007 07:18:03 +0000
Subject: Re: having trouble with is_file() and is_dir() on 5.1.2
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-247610@lists.php.net to get a copy of this message
everything without an extension is a directory You will notice that the only directory detected by this code is templates. There are no files detected by this code. Does this have something to do with stat cache? I want to make one array with directories and one array with files. I can't see any syntax or logic problems. Thanks in advance; JK
As far as I know is_dir and is_file require a full path , as chris mentioned, how are you populating $cont; clive

« previous php.general (#247610) next »