Version 
4.0
1.3.5  listVS.php using PHP 5 
#!/usr/bin/php5 
$conn = new SoapClient("VirtualServer.wsdl", 
                       array( login  => "username", 
                              password  => "password")); 
$names = $conn >getVirtualServerNames(); 
$enabled = $conn >getEnabled($names); 
for ($i=0; $i < count($names); $i++) { 
  if ( $enabled[$i] ) 
    print "$names[$i]\n"; 
} 
?> 
You may need to enable the SOAP extensions in your php.ini file. 
Like Python, the PHP Soap toolkit expects to find the location of the 
SOAP server in the WSDL file, and does not provide any means to 
override it.  However, you can specify the login details from your 
application, so these do not need to be embedded in the WSDL: 
 
   
         binding="zeusns:VirtualServerBinding"> 
       
    
 
Run the PHP script as follows 
$ ./listVS.php 
Main website 
Mail servers 
Test site 
  
27 






New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

java web hosting

 

 

 Our partners: | PHP: Hypertext Preprocessor | Best Web Hosting | Web Hosting Perl | Inexpensive Web Hosting |

Jsp Web Hosting | Cheapest Web Hosting | Jsp Hosting | Cheap Hosting

 

Virtualwebstudio. Business web hosting division of Web Design Plus. All rights reserved