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