MasterACE14 Posted January 6, 2008 Share Posted January 6, 2008 Hello Everyone, I am wondering, "how do I workout what Browser is being used by the people on my website", Is there a PHP function for working out what web browser they are using? or I can workout the web browser with Javascript easy enough, but I don't know how to set PHP Variables within a Javascript IF and ELSE. Any help would be greatly appreciated Regards ACE Quote Link to comment https://forums.phpfreaks.com/topic/84679-solved-how-do-i-workout-what-browser-is-being-used/ Share on other sites More sharing options...
Ken2k7 Posted January 6, 2008 Share Posted January 6, 2008 You can use this: $_SERVER['HTTP_USER_AGENT'] ? Quote Link to comment https://forums.phpfreaks.com/topic/84679-solved-how-do-i-workout-what-browser-is-being-used/#findComment-431514 Share on other sites More sharing options...
hitman6003 Posted January 6, 2008 Share Posted January 6, 2008 Look at what values are stored in $_SERVER. http://us2.php.net/manual/en/reserved.variables.php#reserved.variables.server Quote Link to comment https://forums.phpfreaks.com/topic/84679-solved-how-do-i-workout-what-browser-is-being-used/#findComment-431515 Share on other sites More sharing options...
MasterACE14 Posted January 6, 2008 Author Share Posted January 6, 2008 Thanks Guys! completely forgot about $_SERVER, I can stop looking through my functions booklet now Thanks again ACE Quote Link to comment https://forums.phpfreaks.com/topic/84679-solved-how-do-i-workout-what-browser-is-being-used/#findComment-431520 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.