aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2024-05-30 13:25:01 -0400
committeralyx <alyx@aleteoryx.me>2024-05-30 13:25:01 -0400
commit38ffa09d5cb3b1d519515891cd62a8ef092184a4 (patch)
treea18626bd11f9b5ad22a86b8ed09865189bbd96cb
parent6092698fc7b3172e62c3d99e8c306b986853c068 (diff)
downloadvisitors_dot_php-38ffa09d5cb3b1d519515891cd62a8ef092184a4.tar.gz
visitors_dot_php-38ffa09d5cb3b1d519515891cd62a8ef092184a4.tar.bz2
visitors_dot_php-38ffa09d5cb3b1d519515891cd62a8ef092184a4.zip
README, copyright notice
-rw-r--r--README.md40
-rw-r--r--visitors.php12
2 files changed, 52 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7072661..533b0c9 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,43 @@
# visitors_dot_php
A single-php-file guestbook with customizability and ease-of-deployment in mind.
+
+**Current version: `0.0.1`.**
+
+The first number is reserved for future use.
+The second number is the database version.
+The third number is the non-database revision.
+
+## Hosting
+
+To deploy, edit the top of `visitors.php` with your desired configuration, and then upload it to your webserver or hosting provider.
+It must support client-side scripting, so Github Pages, Neocities, etc. are all out of the question.
+
+There are no security risks to your database file being publically accessible, as it only contains the same info the page will display.
+This may change in a future release.
+
+## Contact Me
+
+I can be reached at [`alyx@aleteoryx.me`](mailto:alyx@aleteoryx.me) via e-mail, and [`@admin@mk.aleteoryx.me`](https://mk.aleteoryx.me/@admin) on the fediverse.
+Additionally, any of the methods listed on [my website](https://aleteoryx.me/) work too. DM me on Tumblr or something idc lol.
+Please contact for feature requests, bug reports, and other concerns.
+
+The default style is not great, and not my best work, but it's there more as a proof-of-concept than anything.
+If you would like to contribute a better style, please get in touch!
+
+## Legal
+
+```
+Copyright (C) 2024 by Aleteoryx <alyx@aleteoryx.me>
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+```
diff --git a/visitors.php b/visitors.php
index 6242852..c908ed4 100644
--- a/visitors.php
+++ b/visitors.php
@@ -1,4 +1,16 @@
<?php
+/* Copyright (C) 2024 by Aleteoryx <alyx@aleteoryx.me>
+
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
$config = array();
define('VERSION', '0.0.1');