<?php
include(dirname(__FILE__).'/Adldap.php');
use Adldap\Adldap;
$config = array(
'account_suffix' => "@canoas.unilasalle.edu.br",
'domain_controllers' => array("svr-dc01.canoas.unilasalle.edu.br"),
'base_dn' => 'dc=canoas,dc=unilasalle,dc=edu,dc=br',
'admin_username' => 'login',
'admin_password' => '******',
);
$ad = new Adldap($config);
?>
Tried visiting Fatal error: Class 'adLDAP' not found, which worked, then I got this error after testing the class:
Fatal error: Class 'Adldap\Interfaces\ConnectionInterface' not found in C:\xampp\htdocs\ad\index.php on line 24
I don't know whats going on since the class Adldap.php does the includes.