View Single Post
  #2  
Old 13th October 2009, 16:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,041
Thanks: 841
Thanked 5,660 Times in 4,467 Posts
Default

The sql command you used is wrong. you have to fetch the complete password as the first part is also part of the password. The encoding that is used is a crypt-md5 encoding with salt as it is used for passwords in linux distributions, e.g. in /etc/passwd too.

The PHP manual describes how to create these passwords:

http://de3.php.net/manual/en/function.crypt.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote