Tag: $_SERVER[‘HTTP_USER_AGENT’]
-
How to know browser information of Visitor?
In order to check what sort of browser the visitor is using, we can make use of theĀ user agentĀ string the browser sends as a part of HTTP request. $_SERVER[‘HTTP_USER_AGENT’] $_SERVER is a special reserved PHP variable that contains all web server information. It is known as superglobals.