Exemplo n.º 1
0
function server_request_client_info()
{
    writelogs("request infos for {$_POST["CLIENT_NTFY_SRV_INFO"]}", __FUNCTION__, __FILE__, __LINE__);
    $sock = new sockets();
    $server = trim($_POST["CLIENT_NTFY_SRV_INFO"]);
    $datas = $sock->GET_CLUSTER("clusters-{$server}");
    writelogs("sending infos for {$_POST["CLIENT_NTFY_SRV_INFO"]} (clusters-{$server}) file" . strlen($datas) . " bytes", __FUNCTION__, __FILE__, __LINE__);
    echo $datas;
}