Home> php教程> php手册> body text

php fsockopen post数据发送实例

WBOY
Release: 2016-06-02 09:14:07
Original
1159 people have browsed it

type = "datetime"; //定义对象 $obj->scalar = "20040420t13:32:40"; $obj->timestamp = 1082460760; $request = xmlrpc_encode_request('dummyserver', $obj); //为php生成xml $response = do_call($host, $port, $request); //调用函数 $xmlrpctype = xmlrpc_get_type($response); //获取xmlrpc类型 print_r($xmlrpctype); //输出结果 ?>
Copy after login


Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!