[eluser]simonspoken[/eluser]
No problem. Thanks for your help.
I think it's down to Apache, unfortunately. You might have noticed from the $_SERVER data that I'm running this on my iPhone. Wanted to demo a mobile site we're building later, and I'm not sure how the internet will behave at the location. Wanted to load it onto the iPhone locally so I didn't have to worry about network issues