[imp] How are ldap prefs encoded?

Jon Parise jon@horde.org
Fri, 28 Jun 2002 18:28:42 -0400


On Fri, Jun 28, 2002 at 05:31:08PM -0400, Lee wrote:

> I did look at the source code, and saw the base_64 being used.
> Unfortunately, as I said before when I run base64_decode() on the ldap
> values (ie. on the data stored in the ldap attribute 'identities'), I
> just get more junk. 
> 
> Any ideas what Im doing wrong?

The "junk" is serialized PHP data.  Call unserialize() to extract the
original array form of the data.
 
-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member