How can we get the browser properties using PHP?

Answers were Sorted based on User's Feedback



How can we get the browser properties using PHP?..

Answer / anand wankhede

Just write it as $_SERVER['HTTP_USER_AGENT'].

Is This Answer Correct ?    9 Yes 0 No

How can we get the browser properties using PHP?..

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

How can we get the browser properties using PHP?..

Answer / shivaganesh

using $_server['HTTP_USER_AGENT']

Is This Answer Correct ?    3 Yes 1 No

How can we get the browser properties using PHP?..

Answer / pappu kumar sharma

$browser = get_browser(null, true);
print_r($browser);

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More PHP Interview Questions

How arrays are used in php?

0 Answers  


Tell me how is the ternary conditional operator used in php?

0 Answers  


What does the unset() function mean?

0 Answers  


What is the difference between associative array and indexed array?

0 Answers  


List data types in PHP?

0 Answers  






What are the limitations or drawbacks of PHP ?

4 Answers   iDream,


Are php sessions cookies?

0 Answers  


What is session and Cokkies . How it works . tell some thing about Session_id()

1 Answers   DVS, Net Solution, PVWEBCO,


Tell me how comparison of objects is done in php5?

0 Answers  


what is abstrac class? why it is use?

5 Answers  


What is MIME?

2 Answers  


Can we use get instead of post?

0 Answers  


Categories