Esecizi in php su moduli

This commit is contained in:
2014-10-26 12:40:01 +01:00
parent c318b09580
commit 3924e6bf32
7 changed files with 410 additions and 2 deletions

51
stampa.php Normal file
View File

@@ -0,0 +1,51 @@
<?php
require_once ('functions.php');
include('header.html');
///////////////////////////
echo<<<_css
<style>
</style>
_css;
echo "\n";
///////////////////////////
if ($_GET == null)
echo "No data to display\n";
else {
if ($_GET['password_1'] == $_GET['password_2'] ) {
echo "Nome " . $_GET['name'] . "\n<br>";
echo "Mail " . $_GET['mail'] . "\n<br>";
echo "Password " . $_GET['password_1'] . "\n<br>";
} else {
echo 'Dati Inseriti invalidi';
}
}
include ('footer.html');
?>