Hello,

I have tried to store the jpegPhoto of inetOrgPerson using PHP Zend
Framework code like below...

...

$img = file_get_contents($url) ;
Zend_Ldap_Attribute::setAttribute($entry, "jpegPhoto", $img);
$ldap->update($dn, $entry);
...

The jpegPhoto DO show correctly under gd ldap client
(http://sourceforge.net/projects/gqclient/), but not in phpldapadmin,

The LDIF contains the followings...

jpegPhoto:: /9j/4AAQSkZJR..
..[snipped]
gT/2Q==


As you can see, the data is in base64 format.


I am using phpldapadmin 1.2.0.2, any advice?


Thank you.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to