CLXXII. XML-RPC Functions

��

These functions can be used to write XML-RPC servers and clients. You can find more information about XML-RPC at http://www.xmlrpc.com/, and more documentation on this extension and its functions at http://xmlrpc-epi.sourceforge.net/.

警告

�o�ө��O����ʽ��C�o�ө��欰 -- �]�A��ƦW�٩M�]�t����䥦��� -- �b��PHP�o�椤�i��|�b�q�p���ܡC�ϥΦ��ݦۦ�Ӿ᭷�I�C

�ݨD

�إ߳o�ө��ݭn���~�{�w�C

�w��

XML-RPC support in PHP is not enabled by default. You will need to use the --with-xmlrpc[=DIR] configuration option when compiling PHP to enable XML-RPC support. This extension is bundled into PHP as of 4.1.0.

���ɴ�պA

php.ini�]�w�|�v�T�o�Ǩ�ƪ�欰�C

表格 1. XML-RPC configuration options

NameDefaultChangeableChangelog
xmlrpc_errors"0"PHP_INI_SYSTEMAvailable since PHP 4.1.0.
xmlrpc_error_number"0"PHP_INI_ALLAvailable since PHP 4.1.0.
For further details and definitions of the PHP_INI_* constants, see the 附錄 G.

�귽��

�o�ө��S�w�q���귽�C

�w��w�q�`��

�o�ө��S�w�q���`�ơC

內容目錄
xmlrpc_decode_request -- Decodes XML into native PHP types
xmlrpc_decode -- Decodes XML into native PHP types
xmlrpc_encode_request -- Generates XML for a method request
xmlrpc_encode -- Generates XML for a PHP value
xmlrpc_get_type -- Gets xmlrpc type for a PHP value
xmlrpc_is_fault --  Determines if an array value represents an XMLRPC fault
xmlrpc_parse_method_descriptions -- Decodes XML into a list of method descriptions
xmlrpc_server_add_introspection_data -- Adds introspection documentation
xmlrpc_server_call_method -- Parses XML requests and call methods
xmlrpc_server_create -- Creates an xmlrpc server
xmlrpc_server_destroy -- Destroys server resources
xmlrpc_server_register_introspection_callback -- Register a PHP function to generate documentation
xmlrpc_server_register_method -- Register a PHP function to resource method matching method_name
xmlrpc_set_type -- Sets xmlrpc type, base64 or datetime, for a PHP string value