From 949737cf5fc2a21b36c4a269a437d0dc2e965441 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 9 Feb 2024 15:56:55 +0100 Subject: 1er commit --- mdp.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 mdp.php (limited to 'mdp.php') diff --git a/mdp.php b/mdp.php new file mode 100644 index 0000000..fca7375 --- /dev/null +++ b/mdp.php @@ -0,0 +1,34 @@ +prepare('UPDATE motdepasse SET motdepasse = :mdp'); +$requête->execute(array('mdp' => $_POST['nouveaumdp'])); + + +header('Location: administration.php?modifmdp=1'); +exit (); +?> -- cgit v1.2.3