[PHP] XMLRPC and file_get_contents

2007-08-16 Thread Andreas Schlicker
Hi all, I'm writing an XML-REC client in PHP, based on the following example: ?php $request = xmlrpc_encode_request(method, array(1, 2, 3)); $context = stream_context_create(array('http' = array( 'method' = POST, 'header' = Content-Type: text/xml, 'content' = $request ))); $file =

Re: [PHP] XMLRPC and file_get_contents

2007-08-16 Thread Stut
Andreas Schlicker wrote: Hi all, I'm writing an XML-REC client in PHP, based on the following example: ?php $request = xmlrpc_encode_request(method, array(1, 2, 3)); $context = stream_context_create(array('http' = array( 'method' = POST, 'header' = Content-Type: text/xml, 'content'

Re: [PHP] XMLRPC and file_get_contents

2007-08-16 Thread Andreas Schlicker
Stut wrote: Andreas Schlicker wrote: Hi all, I'm writing an XML-REC client in PHP, based on the following example: ?php $request = xmlrpc_encode_request(method, array(1, 2, 3)); $context = stream_context_create(array('http' = array( 'method' = POST, 'header' = Content-Type: text/xml,