<HTML ><HEAD ><TITLE >XML-RPC functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Function Reference" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="xml_set_unparsed_entity_decl_handler" HREF="function.xml-set-unparsed-entity-decl-handler.html"><LINK REL="NEXT" TITLE="xmlrpc_decode_request" HREF="function.xmlrpc-decode-request.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.xml-set-unparsed-entity-decl-handler.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.xmlrpc-decode-request.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.xmlrpc" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >CVIII. XML-RPC functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN96758" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="xmlrpc.intro" ></A >Introduction</H1 ><P > These functions can be used to write XML-RPC servers and clients. You can find more information about XML-RPC at <A HREF="http://www.xmlrpc.com/" TARGET="_top" >http://www.xmlrpc.com/</A >, and more documentation on this extension and it's functions at <A HREF="http://xmlrpc-epi.sourceforge.net/" TARGET="_top" >http://xmlrpc-epi.sourceforge.net/</A >. </P ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This extension is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. The behaviour of this extension -- including the names of its functions and anything else documented about this extension -- may change without notice in a future release of PHP. Use this extension at your own risk.</P ></TD ></TR ></TABLE ></DIV ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="xmlrpc.requirements" ></A >Requirements</H1 ><P >No external libraries are needed to build this extension.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="xmlrpc.installation" ></A >Installation</H1 ><P > XML-RPC support in PHP is not enabled by default. You will need to use the <TT CLASS="option" >--with-xmlrpc[=DIR]</TT > configuration option when compiling PHP to enable XML-RPC support. This extension is bundled into PHP as of 4.1.0. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="xmlrpc.configuration" ></A >Runtime Configuration</H1 ><P > The behaviour of these functions is affected by settings in <TT CLASS="filename" >php.ini</TT >. </P ><P > <DIV CLASS="table" ><A NAME="AEN96779" ></A ><P ><B >Table 1. XML-RPC configuration options</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><THEAD ><TR ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Name</TH ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Default</TH ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Changeable</TH ></TR ></THEAD ><TBODY ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >xmlrpc_errors</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >"0"</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_SYSTEM</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >xmlrpc_error_number</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >"0"</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ></TBODY ></TABLE ></DIV > For further details and definition of the PHP_INI_* constants see <A HREF="function.ini-set.html" ><B CLASS="function" >ini_set()</B ></A >. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="xmlrpc.resources" ></A >Resource Types</H1 ><P >This extension has no resource types defined.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="xmlrpc.constants" ></A >Predefined Constants</H1 ><P >This extension has no constants defined.</P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="function.xmlrpc-decode-request.html" >xmlrpc_decode_request</A > -- Decodes XML into native PHP types</DT ><DT ><A HREF="function.xmlrpc-decode.html" >xmlrpc_decode</A > -- Decodes XML into native PHP types</DT ><DT ><A HREF="function.xmlrpc-encode-request.html" >xmlrpc_encode_request</A > -- Generates XML for a method request</DT ><DT ><A HREF="function.xmlrpc-encode.html" >xmlrpc_encode</A > -- Generates XML for a PHP value</DT ><DT ><A HREF="function.xmlrpc-get-type.html" >xmlrpc_get_type</A > -- Gets xmlrpc type for a PHP value. Especially useful for base64 and datetime strings</DT ><DT ><A HREF="function.xmlrpc-parse-method-descriptions.html" >xmlrpc_parse_method_descriptions</A > -- Decodes XML into a list of method descriptions</DT ><DT ><A HREF="function.xmlrpc-server-add-introspection-data.html" >xmlrpc_server_add_introspection_data</A > -- Adds introspection documentation</DT ><DT ><A HREF="function.xmlrpc-server-call-method.html" >xmlrpc_server_call_method</A > -- Parses XML requests and call methods</DT ><DT ><A HREF="function.xmlrpc-server-create.html" >xmlrpc_server_create</A > -- Creates an xmlrpc server</DT ><DT ><A HREF="function.xmlrpc-server-destroy.html" >xmlrpc_server_destroy</A > -- Destroys server resources</DT ><DT ><A HREF="function.xmlrpc-server-register-introspection-callback.html" >xmlrpc_server_register_introspection_callback</A > -- Register a PHP function to generate documentation</DT ><DT ><A HREF="function.xmlrpc-server-register-method.html" >xmlrpc_server_register_method</A > -- Register a PHP function to resource method matching method_name</DT ><DT ><A HREF="function.xmlrpc-set-type.html" >xmlrpc_set_type</A > -- Sets xmlrpc type, base64 or datetime, for a PHP string value</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.xml-set-unparsed-entity-decl-handler.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.xmlrpc-decode-request.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >xml_set_unparsed_entity_decl_handler</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >xmlrpc_decode_request</TD ></TR ></TABLE ></DIV ></BODY ></HTML >