I am looking for either a php script or a cgi script, or at least some information on how to do the following:

Submit information through a form, which will then used to generate an html file for each submition.

It would include various information, and a defined-size image.

Also, i would like to make all the generated html files searchable, and create a list of all the entries (alphabetical list).

I really have no clue as how to do this, any insight would be appreciated.

------------------
A conclusion is simply the place where you got tired of thinking.