note 24444 added to function.xmlrpc-decode

From: Date: Fri, 16 Aug 2002 07:57:42 +0000
Subject: note 24444 added to function.xmlrpc-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-35124@lists.php.net to get a copy of this message
Use this with an XML-RPC client to decode a server response into native PHP variables. It will automatically translate the response XML-RPC data types into their PHP equivalents. This function will return only false is there is any problem with format of the XML it receives. The HTTP response header will need to be stripped off with something like; <?php $xml=(substr($response, strpos($response, "\r\n\r\n")+4)); $phpvars = xmlrpc_decode ($xml); ?> -- http://www.php.net/manual/en/function.xmlrpc-decode.php http://master.php.net/manage/user-notes.php?action=edit+24444 http://master.php.net/manage/user-notes.php?action=delete+24444 http://master.php.net/manage/user-notes.php?action=reject+24444

« previous php.notes (#35124) next »