Hei

On Wed, Jun 20, 2001 at 03:04:06PM +0200, Stig-Ørjan Smelror wrote:
> I have some problems while printing out values of attributes-types which
> have "Equality" and/or "Substrings" values.
> 
> Example:
> 
> $get_values = "".$info[0]["title"][0]; # OK. (prints out the value
> correct)
> 
> $get_values = "".$info[0]["postalCode"][0]; # NOT OK. (prints out
> nothing)
> 
> the "title" and "postalCode" attributes are even in the same objectclass
> (organizationalPerson), but
> the "postalCode" attribute has Equality=caseignoreMatch and
> Substrings=caseIgnoreSubstringsMatch ...

The matching doesn't make any difference. I bet the reason is that you
need to use "postalcode" rather than "postalCode" as index. It might
be a good idea to do var_dump($info) to see what it contains.

Stig

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to