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 / umapathi

$_SERVER['HTTP_USER_AGENT'];

Is This Answer Correct ?    107 Yes 9 No

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

Answer / munish saini

echo $_SERVER['HTTP_USER_AGENT'] . "<hr />\n";

$browser = get_browser();

foreach ($browser as $name => $value) {
echo "<b>$name</b> $value <br />\n";
}

Is This Answer Correct ?    28 Yes 6 No

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

Answer / binoyav

You can use get_browser() function

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

Is This Answer Correct ?    22 Yes 8 No

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

Answer / tomer

You can get all the information using this tool
http://www.BrowserProperties.com

Tell us how you did

Is This Answer Correct ?    5 Yes 5 No

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

Answer / phpwizz

THANKS!!! Great website!

Is This Answer Correct ?    4 Yes 4 No

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

Answer / hoshang karanjekar

In php.ini file there is a option. Max-upload_size. . Change the value as u want. I can upload the file easily

Is This Answer Correct ?    0 Yes 1 No

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

Answer / sumapathi

go to the browser and ask its properties directly!!!...or
else die!!!.....

Is This Answer Correct ?    15 Yes 78 No

Post New Answer

More PHP Interview Questions

What are the difference between array_keys() and array_key_exists() in php?

0 Answers  


When to use inquire vs enquire?

0 Answers  


What is the difference between using copy() and move() function in PHP file uploading?

5 Answers  


What is the function mysql_pconnect() useful for?

0 Answers  


Which MySQL function would you use to select a database?

0 Answers  






How to split a string into array using php?

0 Answers  


How many ways we can pass the variable through the navigation between the pages?

7 Answers  


What is difference between $x and $$x

5 Answers   Mindex, Net Solution, Procon IT Solutions, Trigent,


How can we encrypt the username and password using PHP?

3 Answers   Rushmore Consultancy,


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,


What is the maximum size of a table in mysql?

0 Answers  


What is mysql_fetch_array?

0 Answers  


Categories