First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
$ValidAccess = 2010;
|
||||
require_once("include/globals.php");
|
||||
|
||||
$query = "SELECT * FROM users WHERE type NOT IN ('Parent','Guest','Staff') AND password != '' AND password IS NOT NULL";
|
||||
$results = db_query($query);
|
||||
while ($row = db_fetch_assoc($results)) {
|
||||
extract($row);
|
||||
$password_crypt = encrypt_password($password);
|
||||
$query = "UPDATE users SET password = '', password_crypt = '$password_crypt' WHERE record_num = $record_num";
|
||||
db_query($query);
|
||||
echo("$query\n");
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user