function xmlrpc_server_output in Drupal 6
Same name and namespace in other branches
- 4 includes/xmlrpcs.inc \xmlrpc_server_output()
- 5 includes/xmlrpcs.inc \xmlrpc_server_output()
- 7 includes/xmlrpcs.inc \xmlrpc_server_output()
2 calls to xmlrpc_server_output()
- xmlrpc_server in includes/
xmlrpcs.inc - The main entry point for XML-RPC requests.
- xmlrpc_server_error in includes/
xmlrpcs.inc - Throw an XML-RPC error.
File
- includes/
xmlrpcs.inc, line 109
Code
function xmlrpc_server_output($xml) {
$xml = '<?xml version="1.0"?>' . "\n" . $xml;
header('Connection: close');
header('Content-Length: ' . strlen($xml));
header('Content-Type: text/xml');
header('Date: ' . date('r'));
echo $xml;
exit;
}