commit | author | age
|
19351a
|
1 |
<?php |
B |
2 |
require_once ("includes/nusoap/nusoap.php"); |
|
3 |
|
|
4 |
//addtj(); |
|
5 |
|
|
6 |
function addtj(){ |
|
7 |
// global $ecs; |
|
8 |
// $domain = $ecs->get_domain(); |
|
9 |
// $ip = real_ip();//getIP(); |
|
10 |
// $client = new soapclient68('http://api.com/record.php?wsdl',true); |
|
11 |
// $client->soap_defencoding = 'UTF-8'; |
|
12 |
// $client->decode_utf8 = false; |
|
13 |
// $client->xml_encoding = 'UTF-8'; |
|
14 |
// //参数转为数组形式传递 |
|
15 |
// $paras=array('domain'=>$domain,'ip'=>$ip); |
|
16 |
// //目标方法没有参数时,可省略后面的参数 |
|
17 |
// $result=$client->call('addTongji',$paras); |
|
18 |
} |
|
19 |
|
|
20 |
|
|
21 |
?> |