您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

PHP调用接口返回的一直为空

2024/3/15 6:30:45发布26次查看
? $provincesign=$_post['provincename']; $carnum=$_post['carnum']; if($carnum!=null) { $framenum=$_post['framenum']; $enginenum=$_post['eginenum']; $cartype=$_post['cartype']; header(content-type:text/html;charset=utf-8); //$client=new nu
$provincesign=$_post['provincename'];
$carnum=$_post['carnum'];
if($carnum!=null)
{
$framenum=$_post['framenum'];
$enginenum=$_post['eginenum'];
$cartype=$_post['cartype'];
header(content-type:text/html;charset=utf-8);
//$client=new nusoap_client('http://115.29.169.98:8091/illegalquery/illegalquery.asmx?wsdl',true);
$client=new soapclient('http://115.29.169.98:8091/illegalquery/illegalquery.asmx?wsdl');
$agentnummd5=33rd458322d7046f63dfd8b15r43e5;//top 文件生成
$client->decode_utf8=false;
$client->soap_defencoding='utf8';
$client->xml_encoding='utf8';
$params1 = array('agentnum'=>$agentnummd5,'carnum'=>$provincesign.$carnum,'framenum'=>$framenum,'cartype'=>$cartype,'enginenum'=>$enginenum);
$reversed = $client->call('query',array($params1));
$result=$reversed['queryresult'];
echo json_encode($result);
}
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product