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 |
Explain about objects in PHP?
Tell us how can we display the output directly to the browser?
How to remove duplicate values from a PHP Array?
Is php better than python?
How long is csrf token?
What type of headers that PHP supports?
What types of MYSQL function available for affecting columns
Is it difficult to learn php?
What do you use php for?
How can we pass the variable through the navigation between the pages?
Explain whether it is possible to share a single instance of a memcache between multiple php projects?
How to turn on the session support?