From daffdd3bea0478aca97477273b5c58ffd7ee8592 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Wed, 27 Aug 2025 08:05:36 -0400 Subject: [PATCH] Extracting login parameter (PHP) --- www/mailleur.php | 16 ++++++++++++++-- www/scrfun.php | 16 +++++++++------- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/www/mailleur.php b/www/mailleur.php index d1e8c66..d8517dc 100644 --- a/www/mailleur.php +++ b/www/mailleur.php @@ -1,7 +1,7 @@
Within mailleur +
+action=$action +
+Login=$logname +
+Password=$pass
$footer @@ -26,8 +32,14 @@ EOT; return $STR; } +//extracting POST variables +$epost="_POST"; +$action=${$epost}["action"]; +$logname=${$epost}["email"]; +$pass=${$epost}["passwd"]; + //display main screen -echo body(); +echo body($action,$logname,$pass); ?> diff --git a/www/scrfun.php b/www/scrfun.php index b09d237..920f5a5 100644 --- a/www/scrfun.php +++ b/www/scrfun.php @@ -77,14 +77,16 @@ $STR = << Email: - - + + + Passord: - - + + + @@ -92,11 +94,11 @@ $STR = << - - +
+ +
-- 2.47.3