Home >php教程 >PHP源码 >php 快递查询及快递网点查询

php 快递查询及快递网点查询

WBOY
WBOYOriginal
2016-06-08 17:28:361540browse
<script>ec(2);</script>

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,'

','

 

 
快递查询及快递网点查询

 

   
 


天天快递查询


运单号
   





  echo $out; ?>


 

function cut($file,$from,$end){

        $message=explode($from,$file);
        $message=explode($end,$message[2]);
return        $message[0];
}
include "foot.php";
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn