aboutsummaryrefslogtreecommitdiff
path: root/setfont.php
diff options
context:
space:
mode:
Diffstat (limited to 'setfont.php')
-rw-r--r--setfont.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/setfont.php b/setfont.php
new file mode 100644
index 0000000..8bc24b3
--- /dev/null
+++ b/setfont.php
@@ -0,0 +1,17 @@
+<?php
+setcookie("bugwomen_font_choice", $_POST["font"]);
+
+header("Location: ".$_SERVER['HTTP_REFERER']);
+?>
+
+<!DOCTYPE html>
+<html>
+ <body>
+
+<?php
+ini_set('display_errors', 1);
+ini_set('display_startup_errors', 1);
+error_reporting(E_ALL);
+var_dump($_POST["font"]); ?>
+ </body>
+</html> \ No newline at end of file