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 ltrim?
Tell me what does the scope of variables means?
can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????
Tell me what is the difference between get and post?
What is the use of php and mysql?
How to remove duplicate values from php array?
Explain me what are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
What type of inheritance that PHP supports?
15 Answers Webwing Technologies,
What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?
Is variable name casesensitive in php?
What does $_cookie mean?
Tell me what is the difference between exception::getmessage and exception::getline?