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:[EMAIL PROTECTED] 
> Sent: Friday, November 26, 2004 4:14 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] 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
> --------------------
> [EMAIL PROTECTED]
> --------------------
> 
> --
> 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

Reply via email to