Code has been added to clipboard!
Checking Files With PHP feof
Example
<?php
$demofile = fopen('text_file.txt', 'r') or die('File cannot be opened!');
// Output characters one by one
while(!feof($demofile)) {
echo fgetc($demofile);
}
fclose($demofile);
?>