Thank you sooo much for your response.
Would you mind telling me how to write to the txt file?
This is what I have, but I can't figure out how to get the text field to write in there:
<?php
$filename = 'test.txt';
$message = wordwrap($_POST['Message'], 70);
// Let's make sure the file exists and is writable first.
if (is_writable($filename)) {
// In our example we're opening $filename in append mode.
// The file pointer is at the bottom of the file hence
// that's where $somecontent will go when we fwrite() it.
if (!$handle = fopen($filename, 'a')) {
echo "Cannot open file ($filename)";
exit;
}
// Write $somecontent to our opened file.
if (fwrite($handle, $somecontent) === FALSE) {
echo "Cannot write to file ($filename)";
exit;
}
echo "Success, wrote ($somecontent) to file ($filename)";
fclose($handle);
} else {
echo "The file $filename is not writable";
}
?>
So I would need something that would "POST" to itself or something, right?