corillo181 Posted February 12, 2008 Share Posted February 12, 2008 how do i check which browser version or browser is the user using? Quote Link to comment https://forums.phpfreaks.com/topic/90773-browser-checking/ Share on other sites More sharing options...
feelay Posted February 12, 2008 Share Posted February 12, 2008 If this is what you are searching for, here you go: http://www.phpfreaks.com/forums/index.php/topic,181982.0.html Quote Link to comment https://forums.phpfreaks.com/topic/90773-browser-checking/#findComment-465306 Share on other sites More sharing options...
corillo181 Posted February 12, 2008 Author Share Posted February 12, 2008 i try it got this Warning: get_browser() [function.get-browser]: browscap ini directive not set Quote Link to comment https://forums.phpfreaks.com/topic/90773-browser-checking/#findComment-465313 Share on other sites More sharing options...
feelay Posted February 12, 2008 Share Posted February 12, 2008 <?php echo $_SERVER['HTTP_USER_AGENT'] . "\n\n"; $browser = get_browser(null, true); print_r($browser); ?> This is from the php manual (http://se2.php.net/manual/sv/function.get-browser.php) Quote Link to comment https://forums.phpfreaks.com/topic/90773-browser-checking/#findComment-465318 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.