Tutorials »

In PHP you can find files with function glob. The glob function searches for all the pathnames matching pattern according to the rules used by the libc glob function, which is similar to the rules used by common shells. It is nice, but it works for the current directory only. If you need function to search whole directory subtree, then it can be done with few line more.
Posted by markp 479 days ago (http://abcphp.com)
Discuss  | Bury | Tweet This | Tagged: glob find files
| Add To 

Who Voted for this Story

Comments

No one has commented on this article yet.

Log in to comment or register here.