Update farp.php
This commit is contained in:
parent
a3ca3ef875
commit
6adeadc3ac
1 changed files with 4 additions and 10 deletions
14
farp.php
14
farp.php
|
@ -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>
|
Reference in a new issue