There is no builtin function to do this in one step but it's not in anyway difficult.. http://www.php.net/manual/en/function.opendir.php -Kevin
----- Original Message ----- From: "Dade Register" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 27, 2002 1:34 PM Subject: [PHP] directory list function? > A question for you all. Is there a php function that > could count the number of files in a dir? Using > FreeBSD and php4.2.2 and Apache. Thanx. > -Dade > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php