$params = array("0", htmlspecialchars("http://www.webfaq.cz"), 0);
$request = xmlrpc_encode_request("getRank", $params);
$context = stream_context_create(array('http' => array('method'=>"POST",'header'=>"Content-Type: text/xml",'content'=>$request)));
$file = file_get_contents('http://srank.seznam.cz', false, $context);
$response = xmlrpc_decode($file);
if ($response['status'] == 200) {
echo (round($response['rank'] / 2.55,0)).'/100';
}
?>