[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: attributes with empty values



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



There's an intersting thread here...

http://marc.theaimsgroup.com/?l=php-db&m=102693340425307&w=2

'The problem comes when fields in the html pages are left empty, which is
normal for this application.  For those familiar with the ldap_add/modify
functions in PHP, the array that is passed in has some values, say for
example title, fax, mobile, ... left empty, and therefore NULL (I have
checked, they really are NULL's stored in the array).  When the values make
it to the ldap server however, they appear to be no longer NULL's, but a
"#0", and through debugging output on the ldap server, I have seen it is
generating an "invalid per syntax" error.'

_Ace

PS Peter, I couldn't find any perl/ldap in PEAR.

A_ce


website: http://www.suares.nl * http://www.qwikzite.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/04YIy7boE8xtIjURAg/zAJ49jHp6Ck0qFSomH/VLcYA3PSKadQCfSff5
c+HMHwfw18CADqc2x900s8Q=
=+sa8
-----END PGP SIGNATURE-----