The beauty of learning how to create the script above rather than downloading the PHP Script for your contact page is you will gain an understanding of PHP and you will be able to modify the script by adding additional strings to gather information from other fields you have added to your contact page.
Contact pages can be quite complex, basic contact pages may ask for an email address, name and comments. But with the knowledge you could easily add fields and strings like “where did you find us” this will offer a drop don box with options like Google, A Friend or Other this will help you track where your visitors are being directed from and will tell you where you are lacking and where you need to market more.
You can also add a country field where the visitor will choose their current location from a drop down menu, this will help you track from what location your website is most visited, you may also be offering a service or selling something, this location will help you work out any postage costs.