Update index.php
This commit is contained in:
parent
fb542b6af8
commit
42a6b63035
1 changed files with 1 additions and 1 deletions
|
@ -38,11 +38,11 @@
|
|||
<hr>
|
||||
|
||||
<?php
|
||||
// read and display file
|
||||
$myfile = fopen("posts.txt", "r") or die("Unable to open file!");
|
||||
echo fread($myfile,filesize("posts.txt"));
|
||||
fclose($myfile);
|
||||
?>
|
||||
<?php echo readfile("posts.txt"); ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Reference in a new issue