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 helpers in php?
What is the use of Php variables?
How to join multiple strings stored in an array into a single string?
How long is session timeout?
What is a string in php?
What are the rules for naming a php variable?
What advance thing in php7?
Explain the difference b/w static and dynamic websites?
What is the diffrence between GET,POST and REQUEST Method.
Is php is dying?
How can I prevent sql-injection in php?
Explain the changes in php versions?