first commit

This commit is contained in:
2024-05-31 14:18:00 +07:00
commit 1f8ef5e17f
4029 changed files with 777987 additions and 0 deletions

12
dev/eksekusi.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
include("app/koneksi.php");
$d=pg_query("SELECT id FROM data_user");
while(($r=pg_fetch_array($d)) !== FALSE) {
$id=$r[0];
$options = [
'cost' => 10,
];
$hashid=password_hash($id,PASSWORD_DEFAULT,$options);
pg_query("UPDATE data_user SET tanggal_keluar='$hashid' WHERE id=$id");
}
?>