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. 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'];?> 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. 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. 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 Link to comment https://forums.phpfreaks.com/topic/242746-browser-version/#findComment-1246956 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.