function http_query($url,$file)
{
$url="https://121.28.252.136/dcp/xmlparsing/upload";
$content=file_get_contents($file);
$postfields="-----011000010111000001101001rnContent-Disposition: form-data; name='file'; filename=".$file."rnContent-Type: multipart/form-datarnrn".$content."rn-----011000010111000001101001--";
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_VERBOSE, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:multipart/form-data; boundary=---011000010111000001101001;cache-control: no-cache'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible;)");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_POST,true);
curl_setopt($ch, CURLOPT_POSTFIELDS,$postfields);
$response = curl_exec($ch);
curl_close($ch);
return $response;
}