摘要:
function post($postdata,$server){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $server); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 80); curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata); $data = curl_exec($... 阅读全文
摘要:
step1:修改php.iniextension=php_soap.dllstep2:服务器端代码soapserver.phpclass service{ private $username = ""; private $password = ""; function __construct() { $xml = file_get_contents('php://input'); $p = xml_parser_create(); xml_parse_into_struct($p, $xml, $vals, $ind... 阅读全文