Hawkee commented on a Page, PHP Directory List  -  Aug 25, 2008

Could probably better organize your if-statements. You don't really need the first two echos. Maybe something like,

if(!fnmatch("*.php", $file) and !fnmatch(".*", $file)) 
{
$indfile = '' .$file. '/index.php';
...
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.