function requestByCurl($remote_server,$post_string,$use_post=true){ if(function_exists('curl_init')){ $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$remote_server); if($use_post){ curl_setopt($ch,CURLOPT_POST, 1); curl_setopt($ch,CURLOPT_POSTFIELDS,