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

Why we use get in php?

1036


What is difference between mysql_connect and mysqli_connect?

1103


What are getters and setters php?

1070


How do I make a reset button in html?

1078


What is the difference between php and cakephp?

1048


Explain what is the difference between $var and $$var?

1043


How do you access a get requests url parameter with php?

1056


Why do we need abstract class in php?

1012


What types of MYSQL function available for affecting columns

1003


What is baseurl?

990


Tell me how is it possible to propagate a session id?

1093


What is the value for this auto incremented field user_pri_id?

983


Explain mysql_error().

1041


How do I run a php program in dreamweaver?

1117


Is python better than php?

1058