Re: [PHP] Re: ldap_add() - null values in fields produce an value #0 invalid per syntax error on ldap server

2002-08-02 Thread Stig Venaas
On Thu, Jul 18, 2002 at 08:17:59PM -0500, Richard Lynch wrote: #0 is basically just LDAP's way to represent NULL, most likely. $info[mail]=; // - NULL VALUE HERE // The following lines also produce the same result... //$info[mail]=NULL; // --- NULL value here

[PHP] Re: ldap_add() - null values in fields produce an value #0 invalid per syntax error on ldap server

2002-07-18 Thread Richard Lynch
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,