Dysan Posted March 12, 2008 Share Posted March 12, 2008 Using PHP, is it possible to detect what browser and OS the user is using, and store this information inside a database. Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/ Share on other sites More sharing options...
rhodesa Posted March 12, 2008 Share Posted March 12, 2008 Check out http://us.php.net/manual/en/function.get-browser.php Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/#findComment-490777 Share on other sites More sharing options...
Naez Posted March 12, 2008 Share Posted March 12, 2008 <?php echo $_SERVER['HTTP_USER_AGENT']; ?> Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/#findComment-490778 Share on other sites More sharing options...
derrick1123 Posted March 13, 2008 Share Posted March 13, 2008 Could you do a browser type in an image? I have seen it before, but don't know how its done. http://www.danasoft.com/ Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/#findComment-490919 Share on other sites More sharing options...
teng84 Posted March 13, 2008 Share Posted March 13, 2008 store the images in your folder then call them? eg if the browser is IE call IE images in your folder the display ??? Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/#findComment-490924 Share on other sites More sharing options...
derrick1123 Posted March 13, 2008 Share Posted March 13, 2008 What? lol Sorry, I have been trying to understand what you said, but it ended up being confusing the more times I read it. My bad... Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/#findComment-490937 Share on other sites More sharing options...
teng84 Posted March 13, 2008 Share Posted March 13, 2008 What? lol Sorry, I have been trying to understand what you said, but it ended up being confusing the more times I read it. My bad... i believe there's no predefined function that display the icon of your browser you have to manually create a code to display browsers icon thru img tags of html sorry man! Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/#findComment-490953 Share on other sites More sharing options...
derrick1123 Posted March 13, 2008 Share Posted March 13, 2008 Eh, its ok. I am no were near ready to do something like that anyway. Thanks for your help though. Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/#findComment-490957 Share on other sites More sharing options...
Xajel Posted March 13, 2008 Share Posted March 13, 2008 here's a ready made code to identify the browser using the same HTTP_USER_AGENT Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/#findComment-491041 Share on other sites More sharing options...
derrick1123 Posted March 13, 2008 Share Posted March 13, 2008 Were at? Link to comment https://forums.phpfreaks.com/topic/95860-browseros-type/#findComment-491045 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.