[Date Prev][Date Next]
Re: A little bit off topic question about jpegPhoto
It is a php 'stuff'.
To retrieve jpegPhoto, use "ldap_get_values_len" function instead of
"ldap_get_values_len" handles binary vales and not only strings.
I fight with it a few.
Hope this will helps
Bruno Biedermann wrote:
I'm storing a photo for each user in the attribute jpegPhoto (oc :
inetOrgPerson) and it displays well in LDAP Browser and GQ.
My problem is that i want users to be able to see and change their
photo through a web interface designed in PHP.
I would like to know how this attribute is stored in the directory. Is
the file stored in BASE64 or in hex? The desc field only told me "JPEG
Thanks for your answers, bruno.