1 2 3 4
<?php var_dump($connection = ldap_connect("ldaps://ldap.google.com")); var_dump($bind_results = ldap_bind($connection, 'AnyUsername','AnyPassword'));