Dear,
I have a problem with crypt:
On our server a php script crypt()s the IP adress of the sites requester.
This string is submitted to another script on a customers server.
On this server, there is also the IP adress of the requester crypt()ed.
Both strings were compared, and if they are identical, the user is redirected.
crypt ( string str [, string salt])
(string is the IP, salt is an ID -> its the same on both systems, sure)
The Problem on this is now, that on most servers this works perfectly, but on some the crypt() output from the customers server is completely another as the one from our server.
How can this be possible? I thought crypt() produces a hash like md5(), shouldn't this be identical on all systems? 😕
Thanks for helping 🙂
Thorsten