Take a look at opendir() http://us2.php.net/manual/en/function.opendir.php and readdir() http://us2.php.net/manual/en/function.readdir.php Everything that you need is there. -M > -----Original Message----- > From: Kurlic [mailto:kur_mail@xxxxxxxxxxxxx] > Sent: Friday, November 26, 2004 4:14 PM > To: php-windows@xxxxxxxxxxxxx > Subject: HI! can u help me? > > Hi all! > > Can i ask u a question? > > Using PHP: > How can i count the files in a folder and obtain their names? > (i want to produce a script that count the images in a folder > and make a list of them...) > > please help me... ^_^ > > Thank you by Kurlic > -------------------- > Kur_mail@xxxxxxxxxxxxx > -------------------- > > -- > PHP Windows Mailing List (http://www.php.net/) To > unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php