You can find some in the predefined variable:
$_SERVER[]
More info here:
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
play around width it
eg.
<?echo $_SERVER['HTTP_USER_AGENT'];?>
will print the UserAgent(browser) and OS.
For getting screen resolution and color depth, you have to go client side, and JavaScript is most popular:
<script>
//This will give you your screen width.
alert(screen.colorDepth);
//This will give you your screen width.
alert(screen.width);
//This will give you your screen width.
alert(screen.height);
</script>
You will need to get the javascript values to PHP so you can further store it to your database
you can do something like this:
<?
$colorDepth = "<script>document.write(screen.colorDepth);</script>";
?>
Now $colorDepth is holding your systems color depth.
NB. JavaScript can somtimes be turned off by the user, so don't rely 100%, onehundred percent on it.
Neither what useragent that the user is using, as far as I know the Mozilla browsers can camuflage itself as InternetExplorer + other browsers.
Hope this help you out
best regards,
Thomas A