in reply to clearing a page
If you want to submit a form then do something with the data and display the results then perl might be the solution. I would look into CGI for this.