2
저는 작업중인 프로젝트에 대해 php-ews로 작업 해 왔습니다. 위해 scandir 루프를 통해 저장소와 난 후 다음 중 하나가PHP 후 연결 재설정 포함
include ("php-ews/NTLMSoapClient/Exchange.php");
이 포함되어 추가로 진행 몇 매뉴얼 항목
include ("php-ews/ExchangeWebServices.php");
include ("php-ews/EWS_Exception.php");
include ("php-ews/EWSType.php");
include ("php-ews/NTLMSoapClient.php");
include ("php-ews/NTLMStream.php");
include ("php-ews/NTLMStream/Exchange.php");
$dir = '/wamp/www/intranet/dashboard/php-ews/EWSType/';
$files1 = scandir($dir);
foreach ($files1 as $value) {
if(preg_match('/\.php$/i', $value)){
$inc = "php-ews/EWSType/";
$inc .= $value;
include ($inc);
}}
하고 페이지를 포함에 따라
어떤에서 더 이상로드 할 수 없습니다 firefox에서 연결 재설정 오류를 제공하는 브라우저. 그러나 이것은 즉시 발생하며 시간 초과 문제는 아닙니다. 그 라인에 주석을 달았을 때, 그것이 포함되도록 요구하는 것으로 돌아갑니다. 당신이 참조 더 이상 필요한 경우 코드 저장소가 http://code.google.com/p/php-ews/source/browse/에있다
class NTLMSoapClient_Exchange extends NTLMSoapClient {
/**
* Username for authentication on the exchnage server
*
* @var string
*/
protected $user;
/**
* password for authentication on the exchnage server
*
* @var string
*/
protected $password;
/**
* Constructor
*
* @param string $wsdl
* @param array $options
*/
public function __construct($wsdl, $options) {
// verify that a user name and password were entered
if (empty($options['user']) || empty($options['password'])) {
throw new EWS_Exception('A username and password is required.');
} // end if no user name and password were entered
// set the username and password properties
$this->user = $options['user'];
$this->password = $options['password'];
parent::__construct($wsdl, $options);
} // end function __construct()
} // end class NTLMSoapClient_Exchange
아래 파일의
내용.
모든 도움을 주시면 대단히 감사하겠습니다.
Xdebug를 실행하고 있습니까? 인계받는 것보다 더 소리가 난다. 나는 dll을 볼 것이다. 이것은 XAMPP에서 흔히 볼 수 있습니다 - 치명적인 오류가 발생했을 가능성이있는 예외입니다. – AlienWebguy
@alienwebguy xdebug를 실행하지 않아도되므로 일반적으로 DB를 쿼리하면 필요하지 않습니다. 포함 된 파일이 googlecode 프로젝트의 확인 된 작업 버전으로 문제를 일으키지 않을 것이라고 확신합니다. – Xand94
아파치 로그 파일을 확인해야 할 수도 있습니다. 일반적으로 연결 재설정은 PHP 또는 Apache가 실제로 derped됨을 의미합니다. 그곳에서 무언가를 발견하면, 이것으로 빛을 비출 수 있습니다. – Brian