PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am not sure if anyone has any idea about this at all, the last question I had wasn't quite this specific. I'll let you all know what I am doing. I have a medium sized company about 20 employees, well truth is I have about 5 of these companies. I do not know, but one of Novell's big new pushes is "Novell Single Signon"; Single Signon consists of a client only having to logon once and from then on they are logged in to everything they need to do. All of these clients need individual applications made in PHP. These applications, though on the internal network, it needs to be secure and be employee dependant (Using ACLs). So the plan I have devised is to compare the Novell "DHCP Assigned" IP Address -- which is sent into the "networkaddress" attribute in this form "IP: xxx.xxx.xxx.xxx".The problem I am having is that I try to grab the "networkaddress" attribute from the LDAP database (eDirectory) and instead of returning "IP: xxx.xxx.xxx.xxx", I get "1#ˬ*". Looks like its disgustingly encrypted? I am not an encrypton man, so I have no idea. Help me!
Here is my code:
It gets your remote ip address, and compares it to all the ones in the database until it finds a match. I meant to end the loop when that happens. I wanted to run
however it gives me an error saying Innappropriate matching, probably because it is uint32String encoding which includes * and # characters that I would think need to be escaped or something. If anyone has an answer to that, let me know.