Hi,

Yesterday I installed the XML-RPC Plugin and tried to get some data from
the wiki. I writed a script which should get informations about the
supported RPC Version. But when I'm starting it, all I can see is that
my script is never stop loading. Maybe someone could help me please! Nor
my instructor don't know what it could be.

Here is my script:

<?php

$request = xmlrpc_encode_request('wiki.getRPCVersionSupported', '');

$header[] = 'Host: lima-pro2' ;
$header[] = 'Content-type: text/xml';
$header[] = 'Content-length: ' . strlen($request) . "\r\n";
$header[] = $request;

$ch = curl_init();

curl_setopt( $ch, CURLOPT_URL,
'http://zeiger:[EMAIL PROTECTED]/projects/trio101-001-test/login/xm
lrpc');
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt( $ch, CURLOPT_HTTPHEADER, $header );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'POST' );
$result = curl_exec( $ch );
curl_close($ch);

echo $result;

?>

With kind regards,
Steffi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to