In this case, you will pass in $HTTP_SERVER_VARS[ 'HTTP_USER_AGENT'].
For more information (including locations from which you may obtain a browscap.ini file), check the PHP FAQ at http://www.php.net/FAQ.php.