aboutsummaryrefslogtreecommitdiff
path: root/setfont.php
diff options
context:
space:
mode:
authorAda Isopods <me@bathynomus.xyz>2026-10-14 03:38:44 -0600
committerAda Isopods <me@bathynomus.xyz>2026-10-14 03:38:44 -0600
commit40bbd9b5480c69e2c95bd9f20cc428ce992e7b15 (patch)
treea11ed9987aa2ce676074d40ad33227b8875f2b01 /setfont.php
parentaa7f342d12005e51924ce1e39770c709dcf96566 (diff)
Font selector and other little things
Added a font selector CSS is now inlined server-side because it makes Lighthouse happy A few other little accessibility and general housekeeping adjustments
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