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

22
fetch_gebdat.php Executable file
View File

@ -0,0 +1,22 @@
<?php
if(!isset($_SESSION)) { session_start(); }
require_once("func_age.php");
# echo (int) ifAge ("29.01.2002 > 18");
# Ausgabe 0, nicht volljährig; Ausgabe 1, volljährig
#if(isset($_POST['get_option'])){
$gebdat = $_POST['get_option'];
if(ifAge ("$gebdat > 18") == 1){
echo "||1";
}else{
echo "Bitte bringen Sie zum Testtermin die schriftliche Einwilligung Ihrer gesetzlicher Vertreter mit, dass diese mit Ihrer Testteilnahme einverstanden sind.||0";;
}
# Ausgabe 0, nicht volljährig; Ausgabe 1, volljährig
exit;
#}
?>