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 is the correct syntax of mail() function in php?

0 Answers  


What is foreach loop in php?

0 Answers  


How are Variables Defined in PHP?

6 Answers   T3 Softwares,


what is the scope of php in the future if any other language is developed then may be php is loss ???

1 Answers   ATI,


What is the difference between InnoDb tables and MyIsam Tables in php

1 Answers  


What are the popular content management systems (cms) in php?

0 Answers  


Explain what are psrs? Choose 1 and briefly describe it?

0 Answers  


Which is the dependent variable?

0 Answers  


What are the advantages of not using any frameworks ?

1 Answers   Sonata,


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

0 Answers  


What is cakephp framework?

0 Answers  


Explain the ternary conditional operator in php?

0 Answers  


Categories