summaryrefslogtreecommitdiff
path: root/www/page.php
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-09-03 17:16:38 +0200
committerjerome <jerome@xlinfo.fr>2025-09-03 17:16:38 +0200
commit523245a857990540dc65148c19aec5aa7f120f9c (patch)
tree3a82b346024780dcfeaf5893d14ec1c565b53f12 /www/page.php
parentcb1af4fa69b015b8ede43310151b51cc2720f88f (diff)
downloadhttp-523245a857990540dc65148c19aec5aa7f120f9c.tar.gz
http-523245a857990540dc65148c19aec5aa7f120f9c.zip
Dockerfile
Diffstat (limited to 'www/page.php')
-rw-r--r--www/page.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/page.php b/www/page.php
new file mode 100644
index 0000000..9d7a384
--- /dev/null
+++ b/www/page.php
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="fr">
+ <head>
+ <meta charset="utf-8" />
+ <title>Le meilleur OS</title>
+ </head>
+ <body>
+ <div>
+<?php
+//if (isset($_REQUEST['password']) && $_REQUEST['password'] == "secret"){
+ if (isset($_REQUEST['username']))
+ {
+ echo "<p>Merci ".$_REQUEST['username']." !</p>";
+ }
+ if (isset($_REQUEST['os']))
+ {
+ echo "<p>Votre OS favori est ".$_REQUEST['os']." !</p>";
+ }
+ if(isset($_COOKIE['date']))
+ {
+ echo "<p>Nous sommes le ".date("Y-m-d H:i:s",$_COOKIE['date'])."</p>";
+ }
+/*}
+else {
+ echo "Mauvais mot de passe";
+}*/
+?>
+ </div>
+<p><a href="javascript:history.back()">Retour</a></p>
+</body>
+</html>