Wednesday, September 29, 2010

Membership Fees Washington Club

Check Browser User Agent PHP





C

sa we said in the article
work with different user agent , there are lots of browsers with their special characteristics from which daily access to web pages. To customize our pages to different browsers should be able to acknowledge them, by User Agent to implement the various configurations. The function to check the type of

User Agent is: stristr ($ _SERVER ['HTTP_USER_AGENT'], 'user_agent')

simply adding the conditions that interest us and making them perform, we can make the page behave differently for each browser.

0 comments:

Post a Comment