Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you get the Browser information?

Answer Posted / jahanvi

get_browser() attempts to determine the capabilities of the
user's browser. This is done by looking up the browser's
information in the browscap.ini file.

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 ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to test if a variable is an array?

1120


What is php oop?

1004


Which is the dependent variable?

909


Explain why would we use === instead of ==?

934


Where can I find php ini file?

957


Tell me what are sql injections, how do you prevent them and what are the best practices?

923


What is the name of scripting engine in php?

1226


What is mean by an associative array?

1067


How long does a php session last for?

1034


How can we access the data sent through the url with the post method?

942


Explain include(), include_once, require() and require_once?

1019


What is $$ in php?

960


What is php addslashes?

1099


Suppose your zend engine supports the mode Then how can you configure your php zend engine to support Mode ?

982


What is abstraction php?

979