note 24408 added to function.xmlrpc-encode-request

From: Date: Thu, 15 Aug 2002 13:06:14 +0000
Subject: note 24408 added to function.xmlrpc-encode-request
Groups: php.notes 
Request: Send a blank email to php-notes+get-35068@lists.php.net to get a copy of this message
This function should be used by an XML-RPC client to create an XML payload for an XML-RPC request; <?php $params = "system.methodSignature"; $method = "system.methodHelp"; $request = xmlrpc_encode_request($method,$params); echo ( $request ); ?> Produces; <?xml version='1.0' encoding="iso-8859-1" ?> <methodCall> <methodName>system.methodHelp</methodName> <params> <param> <value> <string>system.methodSignature</string> </value> </param> </params> </methodCall> The second argument recognises the type of variable and generates the correct XML-RPC structure. See xmlrpc_encode() for more details. -- http://www.php.net/manual/en/function.xmlrpc-encode-request.php http://master.php.net/manage/user-notes.php?action=edit+24408 http://master.php.net/manage/user-notes.php?action=delete+24408 http://master.php.net/manage/user-notes.php?action=reject+24408

« previous php.notes (#35068) next »