The reason I am doing this is because I have a web template that has two includes (a header.html and a sidemenu.html). I want the script to load in menu.html so it appears in the same spot on every single one of my pages. I have it working, it loads just fine. The problem comes when they submit the form inside the menu, it redirects them to the perl script itself (therefor losing the template I was using).
Can someone give me any ideas on how to make all errors and all data from a form.pl setup like this to print back on the html page?