diff --git a/php_procviceni_predMaturitou/01/formular.php b/php_procviceni_predMaturitou/01/formular.php new file mode 100644 index 0000000..18774e1 --- /dev/null +++ b/php_procviceni_predMaturitou/01/formular.php @@ -0,0 +1,19 @@ + +$msg = "\n".$name; //vynucení nového řádku +$msg = str_replace("\n","
",$msg); +//zapíšeme a uložíme +fwrite($myfile,$msg); +fclose($myfile); +//přesměrování +header("Location: /"); +?> \ No newline at end of file diff --git a/php_procviceni_predMaturitou/01/index.php b/php_procviceni_predMaturitou/01/index.php new file mode 100644 index 0000000..badc13e --- /dev/null +++ b/php_procviceni_predMaturitou/01/index.php @@ -0,0 +1,31 @@ + + + + + + Document + + + ".$i.". ".$promena."

"; // můžu vládat HTML kod + } + ?> + + +
+
+ +
+ + + + + \ No newline at end of file diff --git a/php_procviceni_predMaturitou/01/info.php b/php_procviceni_predMaturitou/01/info.php new file mode 100644 index 0000000..6aba74a --- /dev/null +++ b/php_procviceni_predMaturitou/01/info.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/php_procviceni_predMaturitou/01/text.txt b/php_procviceni_predMaturitou/01/text.txt new file mode 100644 index 0000000..8f44397 --- /dev/null +++ b/php_procviceni_predMaturitou/01/text.txt @@ -0,0 +1 @@ +
les
pes
kekx
wrum \ No newline at end of file