How can we get the browser properties using PHP?
Answers were Sorted based on User's Feedback
Answer / anand wankhede
Just write it as $_SERVER['HTTP_USER_AGENT'].
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / pritam m
get_browser(string user_agent, bool return_array)
this function returns the browser info , but for this it depend upon the user and also the 'browscap' parameter need to set to point to the correct location of browscap.ini on your system.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / pappu kumar sharma
$browser = get_browser(null, true);
print_r($browser);
| Is This Answer Correct ? | 3 Yes | 2 No |
What are the Merits and De-Merits of CURL library ?
What is inheritance in php? How many types of inheritance supports php?
What is list function with their uses.
Explain what is the difference between for and foreach?
Does it possible to compile php with mysql without having mysql sources?
What is the difference between indexed and associative array?
How to insert an new array element in array?
How is it possible to return a value from a function?
Why triggers are used in mysql?
Swap two variables value without using third variable in php ?
What is difference between put and post method in http?
WHat is the diff. between PHP4 and PHP5?
6 Answers Clarion Technologies, IBM, OmniNet, Sparkton Infotech,