
Untitled
By: a guest on
May 4th, 2012 | syntax:
None | size: 0.63 KB | hits: 14 | expires: Never
<?php
define("BBRPC_URL","http://Ihre-Auftragsnummer.premium-admin.eu/");
define("BBRPC_COOKIE","bbRpc.cookie");
require_once("bb.rpc.class.php");
function printBBRPCMsgs(){
global $_BBRPC_Msgs;
foreach($_BBRPC_Msgs as $hMsg){
echo("[".$hMsg["typ"]."] ".$hMsg["msg"]."\n");
}
}
bbRpc::auth("Ihr-Admin-Benutzer","Ihr-Admin-Passwort");
//An dieser Stelle erfolgt nun die Abfrage der gewünschten Informationen,
//die nachstehende Zeile ist ein Beispiel zum Auslesen der Domaindaten
$xRet = bbRpc::call("bbDomain::readEntry",array("return_array"=>1));
print_r($xRet);
printBBRPCMsgs();
bbRpc::logout();
?>