By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,636 Members | 1,784 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,636 IT Pros & Developers. It's quick & easy.

Help: contents of a directory

P: n/a
How can I view a list of files in a directory?

Thanks

--
Peter. UK
Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a


rtfm!
http://ch2.php.net/manual/en/function.readdir.php
PeterR wrote:
How can I view a list of files in a directory?

Thanks

--
Peter. UK


Jul 17 '05 #2

P: n/a
rtfm!


how can i read the manual when i dont know what function i need to use!
Jul 17 '05 #3

P: n/a
"PeterR" <no****@spam.com> wrote in message news:4068103e.0@entanet...
How can I view a list of files in a directory?

Thanks


Try glob() too
Jul 17 '05 #4

P: n/a
On Mon, 29 Mar 2004 16:43:55 +0100, "PeterR" <no****@spam.com> wrote:
rtfm!


how can i read the manual when i dont know what function i need to use!


It has a search facility (which redirects to Google for the full site search).
Putting the body of your post in the search box on www.php.net comes up with:

http://www.google.com/search?q=how+c...w.php.net&l=en

Which gives you the answer as the first hit.

--
Andy Hassall <an**@andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.