summaryrefslogtreecommitdiff
path: root/writing/index.php
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2022-10-08 18:40:34 -0700
committerKai Stevenson <kai@kaistevenson.com>2022-10-08 18:40:34 -0700
commit7cdaa8b30fcd8ab333d11719dc4b280b28347a71 (patch)
tree60a9882f4e33535ad73101150d80a1daa1da03dc /writing/index.php
parent7c402bbaacfa6acd2d4a2184975ec83f5edde329 (diff)
set up PHP
Diffstat (limited to 'writing/index.php')
-rw-r--r--writing/index.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/writing/index.php b/writing/index.php
new file mode 100644
index 0000000..aab6642
--- /dev/null
+++ b/writing/index.php
@@ -0,0 +1,15 @@
+<?php
+$title = "Hello, I'm Kai!";
+include($_SERVER["DOCUMENT_ROOT"] . "/head.php");
+include($_SERVER["DOCUMENT_ROOT"] . "/header.php");
+?>
+<p>This is the index page for my writing. Obviously, if you follow the links below, you can read things I've
+ written.
+ Whether or not you want to do that is up to you.
+</p>
+<ul>
+ <li>
+ <h2><a href="cryptography.php">Cryptography</a> /* Keep yourself safe */</h2>
+ </li>
+</ul>
+<?php include($_SERVER["DOCUMENT_ROOT"] . "/footer.php"); ?> \ No newline at end of file