source to see the PHP source code. if( strlen( trim( $_GET['Email']))> 11) { echo strlen( trim( $_GET['Email'])); echo "sorry, this server side PHP program stops at 11"; } else { // echo "
";
  //  print_r( $_GET);
  //  echo "
"; // echo "
The server is responding to each keystroke"; // echo "fname,Lname"; $ds=ldap_connect("ldap.virginia.edu"); $r=ldap_bind($ds); $tmpstr = "userid=" . $_GET['Email']; $sr=ldap_search($ds, "o=University of Virginia, c=US", $tmpstr); $info = ldap_get_entries($ds, $sr); if( $info['count'] == 1) { echo $info[0]['givenname'][0] . "," . $info[0]['initials'][0] . "," . $info[0]['sn'][0]. "," . $info[0]['telephonenumber'][0]; } // count else { // return four blank strings echo ",,,"; } } ?>