so what else do i change on this
<html>
<body>
<body bgcolor="#000000">
<?php
$title = $HTTP_POST_VARS['title'];
$blog = $HTTP_POST_VARS['blog'];
$title = stripslashes($title);
$blog = stripslashes($blog);
$date = date('D jS F Y');
$msg_body .= "$title \n";
$msg_body .= "**************************************\n";
$msg_body .= "$blog \n";
$msg_body .= "**************************************\n";
$msg_body .= "$date \n";
$msg_body .= "\n\n";
$filename = 'blog.txt';
is_writable($filename)
$fp = fopen ('blog.txt', 'ab', true);
if (!$handle = fopen($filename, 'a')) {
echo "Cannot open file ($filename)";
exit;
}
fwrite($fp, $msg_body);
if (fwrite($fp, $msg_body) === FALSE) {
echo "Cannot write to file ($filename)";
exit;
}
fclose($fp);
echo '<p><center><font color ="FFFFFF">Your Blog entry, <strong>'.$title.'</strong> has been published.</font> <font color ="C43C46">On '.$date.'.</font></center></p>';
?>
</body>
</html>