furpsocial
");
} else {
fwrite($myfile, htmlspecialchars($_POST["signature"]) . ": " . htmlspecialchars($_POST["body"]) . "
");
}
fclose($myfile);
}
// read from file
$myfile = fopen("posts.txt", "r") or die("Unable to open file! (r)");
echo fread($myfile,filesize("posts.txt"));
fclose($myfile);
?>