esercizi su mysql, box model, cookie e sessioni
This commit is contained in:
65
php11_files.php
Normal file
65
php11_files.php
Normal file
@@ -0,0 +1,65 @@
|
||||
|
||||
<?php
|
||||
|
||||
require_once ('functions.php');
|
||||
include('header.html');
|
||||
|
||||
///////////////////////////
|
||||
echo<<<_css
|
||||
|
||||
<style>
|
||||
|
||||
input:valid {
|
||||
background-color:green;
|
||||
}
|
||||
|
||||
input:invalid {
|
||||
background-color:red;
|
||||
}
|
||||
|
||||
input:in-range {
|
||||
font-size:20pt;
|
||||
}
|
||||
|
||||
input:required {
|
||||
color:red;
|
||||
}
|
||||
input:optional {
|
||||
color:blue;
|
||||
}
|
||||
|
||||
input:active {
|
||||
outline: 5px black solid;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: 5px yellow solid;
|
||||
}
|
||||
|
||||
|
||||
#a[placeholder="mario"][required]{
|
||||
outline: 5px red solid;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
_css;
|
||||
echo "\n";
|
||||
///////////////////////////
|
||||
|
||||
exec(escapeshellcmd("dir"),$out);
|
||||
foreach ($out as $value) {
|
||||
echo $value."\n"."<br>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
include ('footer.html');
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user