Connection and Browser

connection_aborted() returns 1 if the client is disconnected (stop button clicked), 0 otherwise.
connection_status() returns 0 if the connection is normal, 1 if the connection is aborted, 2 if the script is timed out, 3 if the script is both aborted and timed out.
ignore_user_abort([$m]) sets whether a client disconnection should abort the script. It sets the ignore_user_abort ini setting to $m and returns the previous setting as an integer. $m should be set to true to prevent the script from dying the next time it tries to write anything.
get_browser([$s[,$b=false]]) returns information about the capabilities of the browser (user agent $s). If $b is set to true, an array instead of an object is returned.

<!DOCTYPE html><html><head></head>
<body><?php
echo $_SERVER['HTTP_USER_AGENT'] . "<br />";
print_r(get_browser(null, true));
?></body></html>

Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; yie9)
Array (
[browser_name_regex] => .*$� 
[browser_name_pattern] => * 
[browser] => Default Browser 
[version] => 0 
[majorver] => 0 
[minorver] => 0 
[platform] => unknown 
[alpha] => 
[beta] => 
[win16] => 
[win32] => 
[win64] => 
[frames] => 1 
[iframes] => 
[tables] => 1 
[cookies] => 
[backgroundsounds] => 
[cdf] => 
[vbscript] => 
[javaapplets] => 
[javascript] => 
[activexcontrols] => 
[isbanned] => 
[ismobiledevice] => 
[issyndicationreader] => 
[crawler] => 
[cssversion] => 0 
[supportscss] => 
[aol] => 
[aolversion] => 0 )