note 95972 modified in function.glob by thiago

From: Date: Mon, 01 Feb 2010 12:36:17 +0000
Subject: note 95972 modified in function.glob by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-165554@lists.php.net to get a copy of this message
just a quick one: get all dirs, without files: <?php $dirs = array_filter(glob($path.'*'), 'is_dir'); ?> --was-- just a quick one: get all dirs, without files: $dirs = array_filter(glob($path.'*'), 'is_dir'); http://php.net/manual/en/function.glob.php

« previous php.notes (#165554) next »