I am developing a Facebook application for use on page. It’s essential a page with a web form that then creates a database record form the submitted data. Nothing too complex. The complexity comes when I try to differentiate between the sites when handling the post data. This is what I have: