mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
19 lines
268 B
PHP
19 lines
268 B
PHP
<?php
|
|
$Password = db_string($_POST['password']);
|
|
$IsGoodPassword = false;
|
|
|
|
$DB->query("
|
|
SELECT Password
|
|
FROM bad_passwords
|
|
WHERE Password='$Password'");
|
|
|
|
if (!$DB->has_results()) {
|
|
$IsGoodPassword = true;
|
|
}
|
|
|
|
echo ($IsGoodPassword ? 'true' : 'false');
|
|
exit();
|
|
?>
|
|
|
|
|