jim.davidson Posted July 25, 2011 Share Posted July 25, 2011 I'm sure this has been answered before and I must be doing something wrong when seraching since I don't find anything. I need to know what browser and version a user is using to look at a site. Can someone help me out? All help will be greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/242746-browser-version/ Share on other sites More sharing options...
ZulfadlyAshBurn Posted July 25, 2011 Share Posted July 25, 2011 this would echo out the browser type. <?php echo $_SERVER['HTTP_USER_AGENT'];?> Quote Link to comment https://forums.phpfreaks.com/topic/242746-browser-version/#findComment-1246788 Share on other sites More sharing options...
Muddy_Funster Posted July 25, 2011 Share Posted July 25, 2011 You want to take a proper look into the $_SERVER[] variable. Quote Link to comment https://forums.phpfreaks.com/topic/242746-browser-version/#findComment-1246790 Share on other sites More sharing options...
LeadingWebDev Posted July 25, 2011 Share Posted July 25, 2011 get_browser can support you with major version as minor as well. Quote Link to comment https://forums.phpfreaks.com/topic/242746-browser-version/#findComment-1246799 Share on other sites More sharing options...
jim.davidson Posted July 25, 2011 Author Share Posted July 25, 2011 thank you Quote Link to comment https://forums.phpfreaks.com/topic/242746-browser-version/#findComment-1246956 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.