summaryrefslogtreecommitdiff
path: root/www/page.php
diff options
context:
space:
mode:
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>