Home >Backend Development >PHP Tutorial >PHP extension--XML-RPC
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