|
PHP5中文手册
ldap_errno(PHP 4, PHP 5) ldap_errno — Return the LDAP error number of the last LDAP command 说明
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(). 返回值Return the LDAP error number of the last LDAP command for this link. 范例Unless 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 |