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

Why many companies are switching their current business language to php?

0 Answers  


How do I make a reset button in html?

0 Answers  


how to use http headers inside php? Write the statement through which it can be added?

0 Answers  


What interest would a "work-for-ownership" offer receive from PHP/MySQL developers?

1 Answers  


Describe the importance of DABA BASE ABSTRACTION LAYERS in PHP and database connection?

1 Answers  


What are differences between PECL and PEAR?

0 Answers  


Which function would you use to merge two arrays in php?

0 Answers  


how to get the value in script values

1 Answers  


What is polymorphism with example in php?

0 Answers  


What are the differences between GET and POST methods in form submitting?

0 Answers  


What is the purpose of a query?

0 Answers  


What are the different filter functions used to filter a variable?

0 Answers  


Categories