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 is ci framework in php?
How to pass variables and data from php to javascript?
What is the use of anonymous function in php?
What are the differences between PHP3 and PHP4 versions?
Tell me what is the actually used php version?
How to add 301 redirects in PHP?
How do I add to the beginning of an array and find the number of elements in it?
1 Answers Rushmore Consultancy,
Is php worth learning in 2019?
Describe PHP error and logging information?
Tell me what is the use of explode() function?
Is it easy to learn wordpress?
Why should I store logs in a database rather than a file?