There are many good user-contribued examples in the online PHP manual at function readdir() Ignatius _________________________ ----- Original Message ----- From: "FB" <s021183@student.dtu.dk> To: <php-db@lists.php.net> Sent: Friday, September 05, 2003 11:55 AM Subject: all files in a directory > Hi all, > > I need a small script of php selecting all the files in a directory and > putting the names in an array. > > Also, selecting a specific type might be helpfull like *.TXT > > I tried to write on my own but it is not a success yet :)) > > Anyone to help? > > I will use it on Win32 (2000 pro and XP) > > Thanks > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php