News:

SMF - Just Installed!

Main Menu

fread & fclose

Started by KingSparta, Dec 09, 2023, 01:11 PM

Previous topic - Next topic

KingSparta

<?php
    $myfile = fopen("webdictionary.txt", "r") or die("Unable to open file!");
    echo fread($myfile,filesize("webdictionary.txt"));
    fclose($myfile);
?>