Jump to content

GET_BROWSER()


EmperorJazzy

Recommended Posts

I recently read a forum posting regarding detecting the browser being used by the user. The following is a quote from that post;

 

$browser = get_browser(null, true);
$browser = $browser['parent'];

 

This would get the browser name and version (i.e. Firefox 1.5).

 

How is this applied in code to 'echo' the browser, and is this the best execution of browser detection?

Link to comment
https://forums.phpfreaks.com/topic/229603-get_browser/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.