?php / / make sure your host is the correct one / / that you issued your secure certificate to $ldaphost = "ldaps: / /ldap.example.com /"; / / Connecting to LDAP $ldapconn = ldap_connect ($ldaphost) or die ("Could not connect to {$ldaphost} ");?
Le support des URL et SSL a été ajouté en PHP 4.0.4.