diff --git a/phplogin.php b/phplogin.php new file mode 100644 index 0000000..ec39e4a --- /dev/null +++ b/phplogin.php @@ -0,0 +1,54 @@ + Login successful! Welcome $uid
"; + } else { + $msg = "Invalid credentials
$bind_dn"; + } + } else { + $msg = "TLS failure
"; + } + ldap_close($ldap); + } else { + $msg = "Please fill both fields
"; + } + } + ?> + + + + +Server: = htmlspecialchars($host) ?>
+ = $msg ?> + +