You can start with looking at some code examples that do similar things : Directory browser http://www.weberdev.com/get_example-1539.html How to get a dir listing of the current dir of php script in an array http://www.weberdev.com/get_example-1855.html filesystem Show Files Script http://www.weberdev.com/get_example-4240.html Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow. PHP code examples : http://www.weberdev.com PHP & MySQL Forums : http://www.weberforums.com Learn PHP & MySQL Playing Trivia : http://www.webertrivia.com PHP Web Logs : http://www.weberblogs.com Web Development Index http://www.weberindex.com Web Templates http://www.webertemplates.com Search for PHP Code from your browser http://toolbar.weberdev.com Free Uptime Monitor : http://uptime.weberdev.com PHP content for your site : http://content.weber-sites.com -----Original Message----- From: Nicholas Couloute [mailto:njcjr@xxxxxxxxx] Sent: Wednesday, January 25, 2006 9:41 PM To: php-general@xxxxxxxxxxxxx Subject: Counting files in directory and subdirectory! I want a script where it will count all the amrs in a folder and it's sub folders like this setup: amrs > 50 cent > amrs nitty > amrs bob > amrs How would I do this? ~Nick Couloute co-owner/Web Designer Sidekick2Music.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