|
ldap_errnoReturn the LDAP error number of the last LDAP command Description
int ldap_errno
( resource
$link_identifier
)Returns the standardized error number returned by the last LDAP command. This number can be converted into a textual error message using ldap_err2str. Parameters
Return ValuesReturn the LDAP error number of the last LDAP command for this link. ExamplesUnless you lower your warning level in your php.ini sufficiently or prefix your LDAP commands with @ (at) characters to suppress warning output, the errors generated will also show up in your HTML output. Example #1 Generating and catching an error
<?php See Also
|