Commit iniziale

This commit is contained in:
2025-12-12 10:16:44 +00:00
commit 5b0d1a980a
2 changed files with 49 additions and 0 deletions

23
elabora.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
$nome = $_POST["nome"];
$cognome = $_POST["cognome"];
$dataNascita = $_POST["datanascita"];
$luogoNascita = $_POST["luogonascita"];
$provincia = strtoupper($_POST["provincia"]);
$codFiscale = strtoupper($_POST["codFiscale"]);
?>
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo "Conferma di " . $nome . " " . $cognome ?></title>
</head>
<body>
<?php
echo "<h1> Benvenuto, " . $nome . " "; echo $cognome . "</h1>";
echo "Il tuo codice fiscale è: " . $codFiscale . "<br>" . "Sei nato il " . $dataNascita . " a " . $luogoNascita . " (" . $provincia . ")<br><br>";
echo "Richiesta effettuata " . date("d M Y H:i:s") . " (" . date_default_timezone_get() . ")";
?>
</body>
</html>