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
Is php a framework?
How to terminate the execution of a script in PHP?
How to access a global variable inside a function?
Explain the ternary conditional operator in php?
How could I install codeignitor ?
What is warning – “cannot modify header information – headers already sent”?
I am writing an application in php that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with php?
What are the uses of explode() function?
Is false empty php?
What is the use of stripslashes in php?
What is a php web application?
What is difference between array_merge and array_combine in php?
armstrong number by using php while number is given by the keyboard.?
Tell me is it possible to remove the html tags from data?
How do I find environment variables?