Re: [PHP] ldap_connect question

2001-08-29 Thread Ian McNish
"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 wh

[PHP] ldap_connect question

2001-08-29 Thread Ian McNish
the ldap_connect man page states that calling ldap_connect with no arguements should return the link identifier to the open ldap connection. in the following code i find that the script stops before writing the second printf statement: $LDAP_CONNECTION = ldap_connect($MY_LDAP_SERVER); printf("st