Hello,
I'm trying to extract the networkAddress attribute from eDirectory using
PHP code on a SUSE server.

The code only returns part of the IP address: specifically, the part up to
any zero in the IP address.
eg:for someone logged in to 10.2.3.4, I can correctly display 10.2.3.4,
but for someone logged in to 10.2.0.5, my code displays either 10.2 or
10.2.0.0 depending how I write it.

I think it may be a problem with PHP since an LDAP browser I have seems to
give the entire IP address, and code I've written using Windows & ASP
seems to be OK.

Does anybody know anything about this? Or, even better, know a solution!

Our versions of everything are fairly up-to-date. I've searched this
forum, but couldn't find anything.

Paul Green