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

Explain what are some new features introduced in php7?

923


What is the difference between require and include in php?

1097


How do I find out the number of parameters passed into function9?

982


What does the function get_magic_quotes_gpc() means?

940


What is the delimiter syntax is PHP's default delimiter syntax

1280


What is difference between mysql_fetch_array and mysql_fetch_assoc?

967


armstrong number by using php while number is given by the keyboard.?

2188


What is the maximum size of a table in mysql?

1010


How to pad an array with the same value multiple times?

931


Is age interval or ordinal?

945


What is a persistence cookie?

949


How do you check if a variable has been set in php?

971


Is php used for frontend or backend?

1018


What kind of things have you done on the social side?

9022


How to track user logged out or not? When user is idle?

974