コード例 #1
0
ファイル: server_lists.php プロジェクト: ncareol/nidas
function get_interop_servers($include_user = true)
{
    $list = array(array(title => "xmlrpc-epi-php", info_link => "http://xmlrpc-epi.sourceforge.net/", desc => "a php C extension utilizing the xmlrpc-epi library.  running locally.  by Dan Libby", args => "", host => $GLOBALS[SERVER_NAME], uri => substr($GLOBALS[PHP_SELF], 0, strrpos($GLOBALS[PHP_SELF], "/") + 1) . "interop-server.php", port => $GLOBALS[SERVER_PORT], "default" => true), array(title => "Frontier 7.0b43", info_link => "http://groups.yahoo.com/group/xml-rpc/message/2585", desc => "Jake Savin's Server.  First Interop Node", args => "", host => "www.soapware.org", uri => "/RPC2", port => 80), array(title => "XMLRPC.Net", info_link => "http://aspx.securedomains.com/cookcomputing/interopechotests.aspx", desc => "client/server by Charles Cook", args => "", host => "aspx.securedomains.com", uri => "/cookcomputing/interopechotests.aspx", port => 80), array(title => "xmlrpc-c", info_link => "http://xmlrpc-c.sourceforge.net", desc => "a C library by Eric Kidd", args => "", host => "xmlrpc-c.sourceforge.net", uri => "/cgi-bin/interop.cgi", port => 80), array(title => "Usefulinc", info_link => "http://xmlrpc.usefulinc.com/", desc => "a PHP script library by Edd Dumbill", args => "", host => "xmlrpc.usefulinc.com", uri => "/demo/server.php", port => 80), array(title => "XML-RPC for ASP", info_link => "http://aspxmlrpc.sourceforge.net", args => "", host => "www.wc.cc.va.us", uri => "/dtod/xmlrpc/testing/interop.asp", port => 80), array(title => "Frontier-RPC 0.07b3 (Perl)", args => "", host => "bitsko.slc.ut.us", uri => "/cgi-bin/interop.pl", port => 80), array(title => "XMLRPC::Lite, v0.50", args => "", host => "xmlrpc.soaplite.com", uri => "/interop.cgi", port => 80));
    if ($include_user) {
        $list[] = get_user_server();
    }
    return $list;
}
コード例 #2
0
ファイル: xmlrpc-servers.php プロジェクト: hugcoday/wiki
function get_interop_servers($include_user = true)
{
    global $HTTP_SERVER_VARS;
    $list = array(array('title' => "local xmlrpc interop-server", 'info_link' => "http://" . $GLOBALS['SERVER_NAME'] . dirname($GLOBALS['PHP_SELF']) . "/interop-server.php", 'desc' => "a php C extension utilizing the xmlrpc-epi library.  running locally.  by Dan Libby", 'args' => "", 'host' => $HTTP_SERVER_VARS['SERVER_NAME'], 'uri' => dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) . "/interop-server.php", 'port' => $HTTP_SERVER_VARS['SERVER_PORT'], "default" => true), array('title' => "Frontier 7.0b43", 'info_link' => "http://groups.yahoo.com/group/xml-rpc/message/2585", 'desc' => "Jake Savin's Server.  First Interop Node", 'args' => "", 'host' => "www.soapware.org", 'uri' => "/RPC2", 'port' => 80), array('title' => "XMLRPC.Net", 'info_link' => "http://aspx.securedomains.com/cookcomputing/interopechotests.aspx", 'desc' => "client/server by Charles Cook", 'args' => "", 'host' => "aspx.securedomains.com", 'uri' => "/cookcomputing/interopechotests.aspx", 'port' => 80), array('title' => "xmlrpc-c", 'info_link' => "http://xmlrpc-c.sourceforge.net", 'desc' => "a C library by Eric Kidd", 'args' => "", 'host' => "xmlrpc-c.sourceforge.net", 'uri' => "/cgi-bin/interop.cgi", 'port' => 80), array('title' => "Usefulinc", 'info_link' => "http://xmlrpc.usefulinc.com/", 'desc' => "a PHP script library by Edd Dumbill", 'args' => "", 'host' => "xmlrpc.usefulinc.com", 'uri' => "/demo/server.php", 'port' => 80), array('title' => "XML-RPC for ASP", 'info_link' => "http://aspxmlrpc.sourceforge.net", 'args' => "", 'host' => "www.wc.cc.va.us", 'uri' => "/dtod/xmlrpc/testing/interop.asp", 'port' => 80), array('title' => "Frontier-RPC 0.07b3 (Perl)", 'args' => "", 'host' => "bitsko.slc.ut.us", 'uri' => "/cgi-bin/interop.pl", 'port' => 80), array('title' => "XMLRPC::Lite, v0.50", 'args' => "", 'host' => "xmlrpc.soaplite.com", 'uri' => "/interop.cgi", 'port' => 80));
    if ($include_user) {
        $list[] = get_user_server();
    }
    return $list;
}