on that page ther is examples <?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { //add your logic to see if it is an .mp3 file right here, that can be done any number of ways echo "$file\n"; } } closedir($handle); } ?>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php