ldap_connect

PHP 4, PHP 5, PHP 7, PHP 8
ldap_connect - Connect to an LDAP server
Manual
Code Examples

Example #1 Example of connecting to LDAP server.

PHP Version:

Example #2 Example of connecting securely to LDAP server.

PHP Version: