test data
This commit is contained in:
parent
1446cb0a17
commit
5a0deaa0f8
1 changed files with 7 additions and 5 deletions
12
farp.php
12
farp.php
|
@ -3,9 +3,11 @@
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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);
|
||||||
|
@ -23,12 +25,12 @@
|
||||||
$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"];
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script>
|
|
||||||
window.location.href = 'https://furp.colean.cc';
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Reference in a new issue