include "config.php";
if(isset($_POST['d'])&&isset($_POST['d'])&&$_POST['d']&&$_POST['d']){
$aa=$_POST['d'];
$url = "http://61.172.202.146:800/webquery/index.asp?wen=$aa";
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$out = curl_exec($ch);
$out=cut($out,'
$message=explode($from,$file);
$message=explode($end,$message[2]);
return $message[0];
}
include "foot.php";
?>