XML-RPC Manual

How to use it

There is only one function called `browser.getInfo`. It has one parameter which has to be the agent user string (php: $_SERVER['HTTP_USER_AGENT']). The return value is a multidimentional array as can be seen below.

Array
(
    [os] => 
    [browser] => unknown
    [browser_version] => unknown
    [browser_version_uptodate] => unknown
    [computer_type] => Unknown
    [gecko] => false
    [languages] => unknown
    [security] => Not able to detect anything
    [enhanced_security] => No
    [dotNetFramework] => No
    [dotNetFrameworkVers] => 
)

How to set it up

There are probably hundreds of different ways to set this up. We have used the resource XML-RPC.Com. There we also found the XML-RPC library which we are using ( INCUTIO ). This library is written in PHP. For other languages please try it our yourself and write us if you have managed to get it working.

PHP

<?php

include('xmlrpc.inc.php');

$client = new IXR_Client ('http://www.computersniffer.com/xmlrpcserver.php');

$client->query('browser.getInfo',$_SERVER['HTTP_USER_AGENT']);

$data = $client->getResponse();

?>