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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to