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 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'] ? 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 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 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
Archived
This topic is now archived and is closed to further replies.