Recent Posts
None | 7 sec ago
None | 16 sec ago
None | 21 sec ago
None | 40 sec ago
None | 42 sec ago
None | 43 sec ago
None | 46 sec ago
None | 1 min ago
C++ | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By buster on the 9th of Feb 2010 10:05:00 PM
Download |
Raw |
Embed |
Report
$wsdl="https://iadtempf5.appriver.com/iControl/iControlPortal.cgi?WSDL=LocalLB.VirtualServer";
$wsdl2="https://iadtempf5.appriver.com/iControl/iControlPortal.cgi?WSDL=Management.Partition";
$wsdl3="https://iadtempf5.appriver.com/iControl/iControlPortal.cgi?WSDL=LocalLB.VirtualServer";
$location="https://iadtempf5.appriver.com/iControl/iControlPortal.cgi?";
try {
$client = new SoapClient($wsdl,array('location'=>$location,'login'=>$username,'password'=>$password));
$client2 = new SoapClient($wsdl2,array('location'=>$location,'login'=>$username,'password'=>$password));
$client3 = new SoapClient($wsdl3,array('location'=>$location,'login'=>$username,'password'=>$password));
$client2->set_active_partition('AppRiverAccess');
$virtual_list=$client->get_list();
//$stat_list=$client->get_statistics('dns_servers ');
foreach ($virtual_list as $index=>$vs)
{
print $vs . "<br>";
}
$stats_list=$client->get_statistics('POD_116_117');
var_dump ($stats_list);
print "<br>";
$my_stats=$stats_list->statistics;
var_dump ($my_stats);
--
VIP_116-117
VIP_116-117-2nd
VIP_21-22
VIP_21-22-2nd
VIP_24-25
VIP_24-25-2nd
VIP_28-29
VIP_28-29-2nd
VIP_41-42
VIP_41-42-2nd
VIP_43-44
VIP_43-44-2nd
VIP_46-47
VIP_58-59
VIP_58-59-2nd
VIP_68
VIP_73-74
VIP_73-74-2nd
VIP_84-85
VIP_84-85-2nd
VIP_88-89-90-91
VIP_88-89-90-91-2nd
VIP_92-93
VIP_92-93-2nd
VIP_94-95
VIP_94-95-2nd
object(stdClass)#4 (2) { ["statistics"]=> array(0) { } ["time_stamp"]=> object(stdClass)#5 (6) { ["year"]=> int(2010) ["month"]=> int(2) ["day"]=> int(9) ["hour"]=> int(22) ["minute"]=> int(0) ["second"]=> int(45) } }
array(0) { }
Submit a correction or amendment below.
[ previous version ] | [ difference ] | Make A New Post