Home  >  Article  >  Backend Development  >  PHP extension--XML-RPC

PHP extension--XML-RPC

伊谢尔伦
伊谢尔伦Original
2016-11-21 16:53:081937browse

1. Overview and installation

These functions are used to write XML-RPC servers and clients. If you want to know more, you can visit http://www.xmlrpc.com, and http://xmlrpc-epi.sourceforge.net.

This extension requires the libxml PHP extension. This means that --enable-libxml needs to be used, although this will be done implicitly since libxml is enabled by default.

XML-RPC support is not available in PHP by default. You need to compile PHP with the --with-xmlrpc[=DIR] configuration option to use XML-RPC support. This extension is included starting with PHP 4.1.0.

2. Related functions

xmlrpc_decode_request — Decode XML into PHP’s own type

xmlrpc_decode — Decode XML into PHP’s own type

xmlrpc_encode_request — Generate XML for PHP’s value

xmlrpc_encode — is the value of PHP Generate XML

xmlrpc_get_type — Get the type of xmlrpc for a PHP value

xmlrpc_is_fault — Determines if an array value represents an XMLRPC fault trospection_data — Add self-describing documentation

xmlrpc_server_call_method — Parse XML requests and call methods

xmlrpc_server_create — Create an xmlrpc server

xmlrpc_server_destroy — Destroy server resources

xmlrpc_server_register_introspection_callback — Register a PHP function for generating documents

xmlrpc_server_register_method — Register a PHP function to match xmlrpc Method name

xmlrpc_set_type — Set the xmlrpc type, base64 or datetime for a PHP string value

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