Script/program To Create Index
Hi,
In a nut shell, I installed a lot of different php template sites, under one domain name, each site in it’s own folder.
I would like for the index.html page in the root folder (which has no website) to have a thumbnail of each of the sites in all the folders, with a link to that particular site.
I think it’s better if the index page is created before hand, not dynamically, especially since I plan to keep adding more sites in new folders, so I want to be able to re-create the index page whenever I want.
So basically, I’m looking for a script/program that would go to each first level folder, one by one, (and not further into sub-folders), read the index.php page, create a 100×100 snapshot/thumbnail of what the index.php would deliver, (save a thumbnail file in a folder in the root directory?), create the index.html page for the root dir (3-4) thumbnails per row (variable that I can change), and hyperlink to the appropriate page.
I should be able to run this program whenever I want, and it would re-create the entire index.html file, this way if I change the php templates or images, the thumbnails on the .html will also change. (Overwrite of the new thumbnail is fine.)
thanks
-Lou


