View Single Post
  #15  
Old 8th December 2011, 22:00
Typhon Typhon is offline
Member
 
Join Date: Dec 2011
Posts: 78
Thanks: 27
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
Thats not crypt-md5 encryption. Crypt can create many different algorithms, see php manual. Take a look here on how to create a crypt-md5 password.

Code:
function crypt_password($cleartext_password) {
		$salt="$1$";
		$base64_alphabet='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
		for ($n=0;$n<8;$n++) {
			$salt.=$base64_alphabet[mt_rand(0,63)];
		}
		$salt.="$";
		return crypt($cleartext_password,$salt);
	}
It's difficult to imagine the system that ISPC use so it's impossible for me to create a user ?
There are no developers in this forum ?
Can some body give me the function that ISPC use ?
Reply With Quote