Answer Posted / munish saini
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 ? | 28 Yes | 6 No |
Post New Answer View All Answers
How can you retrieve data from the mysql database using php?
What is singleton design pattern in php?
How to open a file for reading?
How can I find my php version?
Is wordpress a php framework?
Tell us how to redirect a page in php?
What is the use of get and post method in php?
What is the use of session and cookies in php?
Explain the difference b/w static and dynamic websites?
Does php have block scope?
What is xss and csrf?
Tell me how can we determine whether a php variable is an instantiated object of a certain class?
What is use of htmlspecialchars php?
What is difference between echo and print_r in php?
What type of comments are supported by PHP.