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 does $_ post mean in php?
Why do we use polymorphism in php?
how to set session expire(session timeout) using php code
How send email in php?
What is the current stable version of php? What advance thing in php7?
How be the result set of mysql handled in php?
How to generate a form?
explain php variable length argument function.
what is hidden variable? what is its difference with the normal variable...
How does php strcmp work?
What is $_ request in php?
What is abstraction php?