How do you get the Browser information?
Answer Posted / jahanvi
get_browser() attempts to determine the capabilities of the
user's browser. This is done by looking up the browser's
information in the browscap.ini file.
echo $_SERVER['HTTP_USER_AGENT'] . "<hr />\n";
$browser = get_browser();
foreach ($browser as $name => $value) {
echo "<b>$name</b> $value <br />\n";
}
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Is not null in php?
How to support multiple-page forms?
How to remove a file?
Explain what are psrs?
Is php difficult to learn?
What is session_start () in php?
Can you explain, when to use if-else if-else over switch statements?
Explain how can php and javascript interact?
What is delimiter php?
Explain a resource?
What is php key?
Tell me what are magic methods?
What is psr in php?
What are the advantages of triggers in php?
What is the ioncube php loader?