Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
This is a bit different than the traditional spiderer or indexer. I need a PHP script that will go through the first set of directories and find either gameinfo.txt or catinfo.txt if it finds a catinfo.txt it will write a index.html file listing all the directories and show if it is a game or if it is a catagory and repeat the process if it finds a gameinfo.txt it will stop and open the gameinfo.txt and write the contents into an index.html file.
This should be easy because I could write this in perl pretty quickly, but I need this in PHP.