Déconnecté"; session_unset('EVOADMIN_SESS'); session_destroy(); } if (!empty($_POST['login'])) { try { $server = new LdapServer(Html::clean($_POST['login']), LDAP_BASE, LDAP_ADMIN_DN, LDAP_ADMIN_PASS, LDAP_URI); $server->login(Html::clean($_POST['password'])); $_SESSION['login'] = $server->getLogin(); header("location: superadmin.php\n\n"); exit(0); } catch (Exception $e) { print ''; } } ?>
Responsive image