Contact form for every page of flat html site

Hi. I’m looking for a script, a contact form, i will be putting it at the bottom of every page for users to leave feedback. However the important thing is that i need to know which page the message from the contact form came from. And i need to be able to do this by changing say one line in the html of each page (or something simpler) so it can all work from one installation of the script. I’ve tried with the help of the developers a couple of scripts, but neither have offered a solution. Your ideas would be most gratefully received, thank you!