![]() |
Browser Detection
Hi everyone,
What ways are there to detect what browser is being used? I would like to execute different PHP code depending on weather the user is using Intermet Explorer or FireFox. Cheers, Steven |
The easiest method is to use a function called get_browser.
|
Thanks for that, found an example on there - thanks again.
|
Just remember that such information is not always available. Don't rely on it too much, and default to something else if it's not available.
|
| All times are GMT. The time now is 02:14 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0