LDAP
PHP Manual

Using the PHP LDAP calls

Before you can use the LDAP calls you will need to know ..

The typical sequence of LDAP calls you will make in an application will follow this pattern:

  ldap_connect()    // establish connection to server
     |
  ldap_bind()       // anonymous or authenticated "login"
     |
  do something like search or update the directory
  and display the results
     |
  ldap_close()      // "logout"


LDAP
PHP Manual