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!
glob() returns a directory listing - it has nothing to do with creating an RSS file. Certainly you can use it to provide an RSS feed of the contents of a directory, but other than that...
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.