Ok, well after doing some testing, my theory (and yours) is correct... it's not encrypting. When I put in eve/eve555, it doesn't go in...but putting in eve/0ba781055deb43a7 DOES work. 😛
Ok, the SQL looks like so in the code:
// Formulate the query
$sql = "SELECT * FROM users WHERE
username = '$PHP_AUTH_USER' AND
password = '$PHP_AUTH_PW'";
// Execute the query and put results in $result
$result = mysql_query( $sql )
or die ( 'Unable to execute query.' );
// Get number of rows in $result.
$num = mysql_numrows( $result );
if ( $num != 0 ) {
// A matching row was found - the user is authenticated.
$auth = true;
}
And I have attached the prcoess I went through in phpmyadmin to make the password a password. Find the zip file attached.