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...
Learn a little bit about the new Pastebin.com on our help page. hide message
By buster on the 9th of Feb 2010 10:05:00 PM Download | Raw | Embed | Report
  1. $wsdl="https://iadtempf5.appriver.com/iControl/iControlPortal.cgi?WSDL=LocalLB.VirtualServer";
  2. $wsdl2="https://iadtempf5.appriver.com/iControl/iControlPortal.cgi?WSDL=Management.Partition";
  3. $wsdl3="https://iadtempf5.appriver.com/iControl/iControlPortal.cgi?WSDL=LocalLB.VirtualServer";
  4.  
  5. $location="https://iadtempf5.appriver.com/iControl/iControlPortal.cgi?";
  6.  
  7.  
  8.  
  9. try {
  10. $client = new SoapClient($wsdl,array('location'=>$location,'login'=>$username,'password'=>$password));
  11. $client2 = new SoapClient($wsdl2,array('location'=>$location,'login'=>$username,'password'=>$password));
  12. $client3 = new SoapClient($wsdl3,array('location'=>$location,'login'=>$username,'password'=>$password));
  13.  
  14. $client2->set_active_partition('AppRiverAccess');
  15. $virtual_list=$client->get_list();
  16. //$stat_list=$client->get_statistics('dns_servers ');
  17.  
  18. foreach ($virtual_list as $index=>$vs)
  19. {
  20.         print $vs . "<br>";
  21.  
  22. }
  23.  
  24. $stats_list=$client->get_statistics('POD_116_117');
  25. var_dump ($stats_list);
  26. print "<br>";
  27. $my_stats=$stats_list->statistics;
  28. var_dump ($my_stats);
  29.  
  30. --
  31.  
  32. VIP_116-117
  33. VIP_116-117-2nd
  34. VIP_21-22
  35. VIP_21-22-2nd
  36. VIP_24-25
  37. VIP_24-25-2nd
  38. VIP_28-29
  39. VIP_28-29-2nd
  40. VIP_41-42
  41. VIP_41-42-2nd
  42. VIP_43-44
  43. VIP_43-44-2nd
  44. VIP_46-47
  45. VIP_58-59
  46. VIP_58-59-2nd
  47. VIP_68
  48. VIP_73-74
  49. VIP_73-74-2nd
  50. VIP_84-85
  51. VIP_84-85-2nd
  52. VIP_88-89-90-91
  53. VIP_88-89-90-91-2nd
  54. VIP_92-93
  55. VIP_92-93-2nd
  56. VIP_94-95
  57. VIP_94-95-2nd
  58. 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) } }
  59. array(0) { }
Submit a correction or amendment below. [ previous version ] | [ difference ] | Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: