2012年11月28日
摘要: 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($... 阅读全文
posted @ 2012-11-28 20:19 lsl8966 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-11-28 20:06 lsl8966 阅读(399) 评论(0) 推荐(0) 编辑