function reco_client_try() { ob_start(); header("Content-type: text/plain; charset=utf-8"); print reco_client_config_serverurl(); print_r($_SERVER); return ob_get_clean(); }
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" => "")); }