The code I'm dropping into my php page is:
) || strstr($_SERVER['HTTP_USER
This is taken from - http://davidwalsh.name/detect-iphone
However it doesn't seem to be working.
Can anyone help where this code should be placed (body, header ?) or if there is a different example that will work.