Koodoz Design

a blog about all things goudagood! Koodoz Design is a creative design studio based in Richmond, Melbourne. We help businesses unleash their full potential through visual communication and clever design.

Subscribe for a free feed! Mmmm…

31 Jul 2009

get_browser(): learning to use PHP's browser identifying function

OK, this one’s a bit more technical than usual!

On a previous post, I discussed how you could use PHP’s get_browser() function to detect your users’ browser information. You may need to do this for a number of reasons: fixing small CSS details (for instance, positioning <button> elements next to input fields and getting them to display correctly) and preventing your users from seeing stuff reserved for the googlebot are some examples that come to mind. Read on!

Back to top!