first commit

This commit is contained in:
aschwarz
2022-11-28 10:24:23 +01:00
commit 5121fd03d4
3332 changed files with 768541 additions and 0 deletions

31
++ Dokumente/tan_setzen.php Executable file
View File

@ -0,0 +1,31 @@
<?php
header("Expires: Mon, 12 Jul 1995 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H.i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
require_once("config.inc.php");
require_once("func_tangen.php");
$query1 = "SELECT dst_id
FROM bpm_dienststellen
where init_tan = ''
order by dst_id";
$result1 = $db->query($query1) or die("Cannot execute query1");
while ($row1 = $result1->fetch_array()) {
# Initialtan erforderlich für Login?
$tan = tangen();
$sql0 = $db->query("UPDATE bpm_dienststellen
SET init_tan = '$tan'
WHERE dst_id = '$row1[dst_id]'
");
}
?>