Originally Posted by gmrstudios
Typically you would authentic the user by querying LDAP. Is there a particular reason you want to use two forms of authentication? Also, is this Active Directory based LDAP?
I am doing a project.So its just a proposed concept to have two levels of Authentication..to make the database a bit more secure..And i do not know what Active LDAP directory what you are talking about... I just saw a lot of Active directories- OpenLDAP for Windows,ApacheDS..problem is i do not even know even to configure them..downloaded Open lDAP for windows from userbooster.de
Can u help me out..need this to be done by tomoro.Metion ur mail id ,i will send u my files.
This is my login code.I need to fit in the LDAP authentication just anywhere inside after SQL query statement.
Help me out.
if($uname && $pass)
$query="select uname from user where uname='$uname' and pass='$pass'";
// echo "<input type='hidden' value=";
// echo "$row";
// echo " name='a'>";
//echo "Login Success";
<div style="position:absolute;left:15px;top:200px;width:400px;height:20px;z-index:0;"> Incorrect Username and Passsword</div>
<div style="position:absolute;left:15px;top:200px;width:200px;height:20px;z-index:0;"> Enter User Name and Password</div>