This commit is contained in:
2026-05-15 20:23:25 +02:00
parent c980004309
commit bc5cae7e82
74 changed files with 563 additions and 130 deletions

View File

@@ -23,7 +23,7 @@ abstract class UserValidator {
$sql = "SELECT count(login) FROM wp_preserve WHERE login=:01";
$stmt = $db->prepare($sql)
->bindParam("01", mysql_escape_string(strip_tags($login)) )
->bindParam("01", strip_tags($login) )
->execute();
$amout=$stmt->FetchRow();
@@ -45,7 +45,7 @@ abstract class UserValidator {
$sql = "SELECT count(email) FROM wp_preserve WHERE email=:01";
$stmt = $db->prepare($sql)
->bindParam("01", mysql_escape_string(strip_tags($email)) )
->bindParam("01", strip_tags($email) )
->execute();
$amout=$stmt->FetchRow();
@@ -60,8 +60,8 @@ abstract class UserValidator {
$sql="SELECT count(login) FROM wp_preserve WHERE hash=:01 AND passwd=:02";
$stmt = $db->prepare($sql)
->bindParam("01",mysql_escape_string(strip_tags($hash)) )
->bindParam("02",mysql_escape_string(strip_tags($password)) )
->bindParam("01",strip_tags($hash) )
->bindParam("02",strip_tags($password) )
->execute();
$amout=$stmt->FetchRow();