Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment