Repeated Data in IE
I created a login and news feature for my website... currently it is really messed up in IE, but everything (almost) works fine in Firefox.
What's happening is, I login, post a news article, and hit submit.. In IE it keeps refreshing and reprinting the information... But in FF it works perfect. WTF!?
Here is my login page:
<form action="added.php" method="POST">
<p>Title:</p>
<input type="text" name="title">
<p>News:</p>
<p>HTML tags are active.</p>
<p>Legend</p>
<textarea name="news" cols=20 rows=5></textarea>
<p>Posted by:</p>
<input type="text" name="posted" value="Crano">
<input type="submit" name="submit" value="submit">
</form>
And here is my php page:
<?php
$da = getdate();
$date="$da[weekday] $da[mday] $da[month] $da[year]";
$news = ("
<div id=\"content\">
<h2 class=\"post-title\">$title</h2>
<h2 class=\"post-date\">$date</h2>
<p>$news</p>
<h2 class=\"post-author\">Posted By: $posted</p>
</div>
");
$file = fopen("news.php", "r");
$read = fread($file, filesize("news.php"));
fclose($file);
$blah = fopen("news.php", "w");
$news=stripslashes($news);
fwrite($blah, "$news $read");
fclose ($blah);
print "<meta http-equiv=\"refresh\" content=\"1;http://cranomedia.net/\">";
?>
Any help would be greatly appreciated...
Note... all I need is assistance with this little php question... everything else that is wrong in IE I can fix myself. :P


.