Update index.php

This commit is contained in:
awesomeuser 2023-08-02 21:10:10 +00:00
parent 525f26f349
commit d41b473f39

View file

@ -81,19 +81,19 @@
<span style="font-size: 12px; color: grey;">Privacy Policy: The only data collected by furpsocial server-side is the contents of your posts (signature and body text). This information is stored in our secure databases which are wiped of all post data every week. This data is only used to accomodate furpsocial as a social media platform. Client-side, furpsocial stores your most recently used signature as a cookie.</span>
</div>
<div class="post" id="refresh" onclick="window.location.href = 'index.php'">refresh feed</div>
<!-- save most recent signature as a cookie QOL -->
<!-- save most recent signature as a cookie and autoload on page load -->
<script>
document.getElementById("signature-input").defaultValue = "cookie";
function logSignature() {
// save signature to cookie
alert(document.getElementById("signature-input").innerHTML);
alert(document.getElementById("signature-input").defaultValue);
}
</script>
<!-- feed display -->
<div class="post" id="refresh" onclick="window.location.href = 'index.php'">refresh feed</div>
<?php
// make sure the file, well, exists
$myfile = fopen("posts.txt", "a");