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 str_replace()?
How be the result set of mysql handled in php?
What is the main difference between asp net and php?
How are variables declared in php?
What is difference between single quotes and double quotes in php?
Do I need apache for php?
does PHP support foreign key and Rollback?yes or not.if not then why. how will you done these concept in php?
1 Answers Avanigoradia, Primus Global,
Tell me how can you pass a variable by reference?
I created a new joomla module for administrator. when am going to install this, it is going "joomla/modules" path. but, i want to install this in the "joomla/administration/modules" path.
How to create a table using php?
What is warning – “cannot modify header information – headers already sent”?
What are PHP Magic Methods/Functions. List them.