How to get the name of browser?
<p>I have tried $_SERVER['HTTP_USER_AGENT'], but we didn't get the exact name.</p>

<p>Then i have tried the following code</p>

<pre><code>$browser = get_browser(null, true);
print_r($browser);
</code></pre>

<p>Firstly it shows warning.then i have enable it in the .ini file.</p>

<p>After that it dosen't display anything.</p>

<p>Is there any other solution to know the name</p>
