RE: [PHP-WIN] PHP and Lotus Notes

From: Date: Wed, 07 Nov 2001 23:24:55 +0000
Subject: RE: [PHP-WIN] PHP and Lotus Notes
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-10284@lists.php.net to get a copy of this message
> Is there a way to have a PHP script display a Lotus Notes > database such as the address book? I think (but I could be wrong on this) that you can use LDAP functions to access a Lotus Notes address book. For more information try searching for 'ldap' on http://php.net. For example, to search for people called 'Smith' on server 'lotus1.domain.com', return their full name and mail and dump the results to the page so you can see what you got: <?php $connection = ldap_connect('lotus1.domain.com'); $bind = ldap_bind($connection); $search = ldap_search($ldap, '', 'cn=*smith*', array('cn', 'mail')); $results_array = ldap_get_entries($connection, $search); ldap_close($connection); echo '<pre>'; print_r($results_array); echo '</pre>'; ?> HTH, D.

« previous php.windows (#10284) next »