Name
get_browser
Synopsis
string get_browser([string name
])
Returns an object containing information about the
user’s current browser, as found in
$HTTP_USER_AGENT
, or the browser identified by the
user agent name
. The information is
gleaned from the browscap.ini file. The version
of the browser and various capabilities of the browser, such as
whether or not the browser supports frames, cookies, and so on, are
returned in the object.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.