server." HTTP/1.0nUser_Agent: XML-RPC ClientnHost: ".$this->host;$query.= "nContent-Type: text/xmlnContent-L"/> server." HTTP/1.0nUser_Agent: XML-RPC ClientnHost: ".$this->host;$query.= "nContent-Type: text/xmlnContent-L">

Home  >  Article  >  Backend Development  >  xml_rpc简单有关问题

xml_rpc简单有关问题

WBOY
WBOYOriginal
2016-06-13 13:25:11781browse

xml_rpc简单问题
$query = "POST ".$this->server." HTTP/1.0\nUser_Agent: XML-RPC Client\nHost: ".$this->host;
$query.= "\nContent-Type: text/xml\nContent-Length: ".strlen($request)."\n\n".$request."\n";

这是什么意思啊?请各位高手指点一二。

------解决方案--------------------
拼接字符串
------解决方案--------------------
有些东西,拿来直接用就行,兴趣极深,或碰到了相关的问题再去了解一二。
每天回帖即可获得10分可用分!小技巧:教您如何更快获得可用分
------解决方案--------------------
生成一个到XML-RPC服务器端的POST请求信息

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