open file using feof, get empty textarea

I'm trying to open a file in the browser and then edit and save the file.For some reason 4 out of 10 files won't show content, I don't get an error, so the file opened, though I don't see more than an empty textarea.Here's the code I used to choose the page to edit, just click the image and it should show the editable content.<ul><li><a class="list" href="home.php">Home</a> <?php if ($logged_in) { echo'<a href="?cpage=hinfo.php"><input type="image" src="images/editbutton.gif"></a>';}?></li>...Read more