$key = mysql_escape_string($_GET["msg"]);
$post_data = array (
'requestContent=' . $key
);
$post_data = 爆破 ( '&', $post_data );
$url = 'http://nlp.xiaoi.com/robot/demo/wap/wap-demo.action';
$ch = curl_init ();
curl_setopt ( $ch, CURLOPT_POST, 1 );
curl_setopt ( $ch, CURLOPT_URL, $url );
curl_setopt ( $ch, CURLOPT_POSTFIELDS, $post_data );
ob_start ();
curl_exec ( $ch );
$result = ob_get_contents ();
ob_end_clean ();
$preg = '/(.*)
c#+curl
c#+curl
httprequest httpresponse 不就可吗 我看不懂php 不知道他在干嘛