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 |
How arrays are used in php?
how retrive the video file in php using video tag
What is "print" in php?
What and How possible injection in PHP and mysql?
What is the difference between php 5 and php 7?
What is the use of ajax in php?
What is use of isset function in php?
write the prime number of program?in php
How do you identify independent and dependent variables in research?
What are the features of php 7?
how to set session expire(session timeout) using php code
What is oops php?