How we know browser properties ?
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'] . "
\n";
$browser = get_browser();
foreach ($browser as $name => $value) {
echo "$name $value
\n";
}
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home