diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..b58b603
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,5 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
diff --git a/.idea/PHP.iml b/.idea/PHP.iml
new file mode 100644
index 0000000..24643cc
--- /dev/null
+++ b/.idea/PHP.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/discord.xml b/.idea/discord.xml
new file mode 100644
index 0000000..d8e9561
--- /dev/null
+++ b/.idea/discord.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..b0d8f6e
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TP5/TP5-PHP-Marquet.php b/TP5/TP5-PHP-Marquet.php
index bb0f4d0..f93c0d6 100644
--- a/TP5/TP5-PHP-Marquet.php
+++ b/TP5/TP5-PHP-Marquet.php
@@ -35,22 +35,153 @@
?>
Exercice 2
-
Prénom : " . $prenom . "
Niveau : " . $niveau;
+ //Le bouton Effacer vide le formulaire
+ if(isset($_GET['Nom']) && isset($_GET['Prenom']) && isset($_GET['Niveau'])){
+ /*
+ $nom = $_GET['Nom'];
+ $prenom = $_GET['Prenom'];
+ $niveau = $_GET['Niveau'];
+ echo "Bonjour " . $prenom . " " . $nom . ". Vous avez un niveau " . $niveau;
+ */
+ echo "Bonjour " . $_GET['Prenom'] . " " . $_GET['Nom'] . ". Vous avez un niveau " . $_GET['Niveau'];
}
?>
+
+ Exercice 3
+
+
+
+ Exercice 4
+
+ document.getElementById('Resultat').value = " . $resultat . "";
+ }
+ ?>
+
+ Exercice 5
+
+
+ ";
+ echo "| Fichier 1 | Fichier 2 |
";
+ echo " |  |
";
+ echo "| Nom : " . $file1['name'] . " | Nom : " . $file2['name'] . " |
";
+ echo "| Type : " . $file1['type'] . " | Type : " . $file2['type'] . " |
";
+ echo "| Taille : " . $file1['size'] . " | Taille : " . $file2['size'] . " |
";
+ echo "| Chemin temporaire : " . $file1['tmp_name'] . " | Chemin temporaire : " . $file2['tmp_name'] . " |
";
+ echo "| Erreur : " . $file1['error'] . " | Erreur : " . $file2['error'] . " |
";
+ echo "";
+ }
+ ?>
+
+ Exercice
+