I have created a form and am trying to PERMANENTLY save the data as a NEW HTML document. Example - 14 people fill in information into a form ( i.e. Name, Question Responses, etc...) and I am trying to PERMANTENTLY save their answers in HTML format so the other 13 people can view the responses in a readable format. The names of the saved file may be answer01.html, answer02.html,.... I know the 14 people and can use a pick list referencing an array to predetermine the saved file name.
Is this possible using JavaScript or CGI!!!
Can a person RE-SUBMIT their answers and successfully override the current file of the same name that aready exists?
Can I control the format of the saved file?
Write a perl or C program to (1) write out the file(s), or (2) insert the information into a database (or a file format you can invent). If you follow solution (2) you will also have to write CGI programs to query the information and generate new pages on the fly.
Be aware of security holes, especially if the system is open to the Internet (as opposed to on an Intranet). You didn't want anybody writing rubbish to your server. Definitely make sure that none of the files can be executed!