PHP » GoLang |
login |
register |
about
|
ldap_connect(PHP 4, PHP 5, PHP 7) ldap_connect — Connect to an LDAP server Description
resource ldap_connect
([ string
$host = NULL
[, int $port = 389
]] )
Creates an LDAP link identifier and checks whether the given
Parameters
Return Values
Returns a positive LDAP link identifier when the provided hostname/port combination or LDAP URI
seems plausible. It's a syntactic check of the provided parameters but the server(s) will not
be contacted! If the syntactic check fails it returns If no arguments are specified then the link identifier of the already opened link will be returned. Examples
Example #1 Example of connecting to LDAP server.
<?php Example #2 Example of connecting securely to LDAP server.
<?php |
more
Recently updated
more
Most requested
more
Last requests
|