File Handling :: Directory Info
| From: | Guru P Chaturvedi | Date: | Wed, 14 May 2003 21:31:28 +0000 |
| Subject: | File Handling :: Directory Info | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-19938@lists.php.net to get a copy of this message | ||
Hi All,
I was wondering if i can get a list of files under a given folder.
For example i'm in a folder called "/guru/ufiles/" which has 4 different
files.
I want to list name and size of all the files under this folder as below:
file1.txt (2kb)
file35.zip (356kb)
gfile.exe (252kb)
menu.tiff (1.1mb)
4 Files Listed
So now what functions can i use to accomplish this. Please help me out in
this regard.
Thanks in advance,
guru.