From 30e5978a4701e2cb805656b474c45cdbc8d04d37 Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 11 Aug 2021 05:00:57 +0200 Subject: [PATCH] adding phone --- www/boris/ajax.php | 5 +++-- www/boris/index.html | 27 +++++++++++++++++---------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/www/boris/ajax.php b/www/boris/ajax.php index b176f96..24514e2 100644 --- a/www/boris/ajax.php +++ b/www/boris/ajax.php @@ -3,10 +3,11 @@ $headers = "From: support@qo-op.com"; // Who should it come from? $to = "support@qo-op.com"; // Your email address $subject = "Astroport qo-op BLOB"; -$arguments = getopt("l:"); // php ajax.php -l "https://myserve.com/link.html" +$arguments = getopt("l:p:"); // php ajax.php -l "https://myserve.com/link.html" if (isset($_REQUEST['link'])) $link = $_REQUEST['link']; else $link = urldecode($arguments['l']); +if (isset($_REQUEST['phone'])) $phone = $_REQUEST['phone']; else $phone = urldecode($arguments['p']); -$message = "Proposition de lien: ".$link; +$message = "Proposition de ". $phone ." message : ".$link; error_log("SEND LINK ". $link ); mail($to, $subject, $message, $headers); diff --git a/www/boris/index.html b/www/boris/index.html index c9bac76..46b3075 100644 --- a/www/boris/index.html +++ b/www/boris/index.html @@ -11,7 +11,7 @@ qo-op - CLOUD ESCAPE GAME - Nation Extraterrestre - MadeInZion - + @@ -19,7 +19,7 @@ - + @@ -31,7 +31,7 @@ - + @@ -46,24 +46,31 @@
- Mise en place du JEu, lancement officiel dans + Mise en place du JEu, lancement officiel dans
-
+

Participez à l'extinction des datacenters
découvrez le Cloud Escape Game

-
-
-
+
+
+
+