RobBroekhuis
Technical User
I'm writing a forum application, and am trying to log which browsers/platforms my users use, so I can make sure everything works properly for them. I have used two approaches for gathering browser information: on login, I run Javascript client-side to populate a hidden form input that gets returned to php. And I also use php's get_browser function on the server side. The former approach has so far been vastly more successful - it always returns something useful, if not always perfectly accurate. The success rate of the get_browser call seems rather small. If I could, I'd prefer to keep this server-side, but for now it looks like client-side gives me better results. What are the pitfalls with get_browser?
Rob
![[flowerface] [flowerface] [flowerface]](/data/assets/smilies/flowerface.gif)
Rob
![[flowerface] [flowerface] [flowerface]](/data/assets/smilies/flowerface.gif)