Example #1
0
function reco_send_client($action = "", $param = array())
{
    $t = reco_send(reco_server_config_clienturl() . '?action=' . $action, $param);
    // ... do next thing
}
Example #2
0
function reco_send_server($action = "", $param = array())
{
    $t = reco_send(reco_client_config_serverurl() . '?action=' . $action, $param);
    // ... do next thing
    return json_encode(array("errstr" => ""));
}