PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
OK, I came accross this function on php.net, and it looks interesting, but I'm not sure exactly what it does/is used for. Can somebody explain it in n00b terms?
glob() is used to search a location (directory) for files and directories contained within it. It allows the usage of patterns to filter the results, it can sort them, only return directories, etc..