From 4ceb07c9888f06f0a9c3e684a35ce726d87fea9f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 22 Jun 2004 21:08:55 +0000 Subject: [PATCH] removed useless LDAP test --- lam/tests/ldap-test.php | 70 ----------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 lam/tests/ldap-test.php diff --git a/lam/tests/ldap-test.php b/lam/tests/ldap-test.php deleted file mode 100644 index f5c0b3b7..00000000 --- a/lam/tests/ldap-test.php +++ /dev/null @@ -1,70 +0,0 @@ -connect($user, $pass)) echo "ok"; - echo "
Check if __sleep/__wakeup works"; - $ldap->__sleep(); - $ldap->__wakeup(); - echo "
Closing connection"; - $ldap->destroy(); - echo "


If you do not see any error messages all should be ok."; - exit; -} -// display login page -else { - // generate 256 bit key and initialization vector for user/passwd-encryption - $key = mcrypt_create_iv(32, MCRYPT_DEV_RANDOM); - $iv = mcrypt_create_iv(32, MCRYPT_DEV_RANDOM); - - // save both in cookie - setcookie("Key", base64_encode($key), 0, "/"); - setcookie("IV", base64_encode($iv), 0, "/"); -} -?> - - - - <?php - echo ("Login"); - ?> - - - -
-

Server URL:

-

Username:

-

Password:

-

-
- -