Update farp.php

This commit is contained in:
awesomeuser 2023-08-02 22:10:49 +00:00
parent a3ca3ef875
commit 6adeadc3ac

View file

@ -1,13 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head onload="window.location.href = 'https://furp.colean.cc';">
</head>
<body> <!-- onload="window.location.href = 'https://furp.colean.cc';" -->
<?php <?php
$myfile = fopen("posts.txt", "r") or die("Unable to open file!"); $myfile = fopen("posts.txt", "r") or die("Unable to open file!");
$content = fread($myfile, filesize("posts.txt")); $content = fread($myfile, filesize("posts.txt"));
fclose($myfile); fclose($myfile);
@ -25,12 +20,11 @@
$myfile = fopen("posts.txt", "w") or die("Unable to open file!"); $myfile = fopen("posts.txt", "w") or die("Unable to open file!");
fwrite($myfile, $content); fwrite($myfile, $content);
fclose($myfile); fclose($myfile);
echo $content;
echo $_POST["signature"];
echo $_POST["body"];
} }
?> ?>
</head>
<body>
</body> </body>
</html> </html>