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

Where are php configuration settings stored?

961


Explain how to submit form without a submit button.

909


What is php variable?

942


What is the difference between array_pop() and array_push()?

1119


What is a static variable in php?

987


What is encapsulation in php?

935


How can we display information of a variable and readable by human with php?

1016


What the difference between the 'bitwise and' operator and the 'logical and' operator?

912


What is php and features of php?

907


How does csrf attack work?

961


What are php data types?

924


How are variables declared in php?

961


Do csrf tokens expire?

898


What is the main function of php?

1049


Why post method is used in php?

1058