Subversion Repositories HomeAutomation

Rev

Rev 1151 | Rev 1159 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1151 Rev 1158
Line 1... Line 1...
1
<?php
1
<?php
-
 
2
 
-
 
3
require(dirname(__FILE__)."/config.php");
-
 
4
 
-
 
5
 
-
 
6
 
2
 
7
 
3
stream_wrapper_unregister('https');
8
stream_wrapper_unregister('https');
4
stream_wrapper_register('https', 'ExchangeNTLMStream') or die("Failed to register protocol");
9
stream_wrapper_register('https', 'ExchangeNTLMStream') or die("Failed to register protocol");
5
 
10
 
6
$wsdl = "/var/www/exchange/Services.wsdl";
11
//$wsdl = "/var/www/exchange/Services.wsdl"; 
-
 
12
$wsdl = $server.$basedir."/Services.wsdl.php";
7
$client = new ExchangeNTLMSoapClient($wsdl);
13
$client = new ExchangeNTLMSoapClient($wsdl);
8
 
14
 
9
//print_array($client->__getFunctions()); 
15
//print_array($client->__getFunctions()); 
10
echo "test<br>";
16
echo "test<br>";
11
 
17