[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Check for connection




On Sun, 10 Aug 2003, Casper Pedersen wrote:

> Hi,
>
> I have the following:
>
> ld = ldap_bind.....
> ...
> ldap_search( ld ....
>
> How can I check if I still have a connection before I do the search?
>
> Regards/Casper
>

how about

if ($ld) {
  ldap_search....
}