Re: RE: [PHP-WIN] PHP and Lotus Notes
| From: | Frank M. Kromann | Date: | Tue, 13 Nov 2001 23:10:09 +0000 |
| Subject: | Re: RE: [PHP-WIN] PHP and Lotus Notes | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10407@lists.php.net to get a copy of this message | ||
Hi,
LDAP is one way and it requires that LDAP is enabled on the Notes server. There is also a notes
extension for php where you can read and write to all notes bases.
There is no documentation on this extension at this point.
- Frank
> > 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.
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>