Re: ldap_connect question
| From: | Ian McNish | Date: | Wed, 29 Aug 2001 18:59:23 +0000 |
| Subject: | Re: ldap_connect question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65085@lists.php.net to get a copy of this message | ||
"Brad S. Jackson" wrote:
>
> It looks like the documentation is wrong. The C source code for the LDAP module
> doesn't do anything special with zero arguments.
>
> switch(ZEND_NUM_ARGS()) {
> case 0:
> host = NULL;
> port = 0;
that would explain why "ldap_connect()" would return "0", but that
wouldn't explain why the script would stop executing when i call
"ldap_connect()".