View Single Post
Old 3rd January 2006, 21:39
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,689
Thanks: 819
Thanked 5,319 Times in 4,172 Posts

You can try to do a select on the mysql user / database table like this:

$sql = "SELECT `User` FROM `mysql`.`user` WHERE `User` = '$myuser' AND `Password` = password('$mypassword')";

If the query returns the username, username and password are valid.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote