1) break; echo "You are accessing ". $info[$i]["sn"][0] .", " . $info[$i]["givenname"][0] ." (" . $info[$i]["samaccountname"][0] .")
\n"; echo ''; var_dump($info); echo ''; $userDn = $info[$i]["distinguishedname"][0]; } @ldap_close($ldap); } else { $msg = "Invalid email address / password"; echo $msg; } }else{ ?>