<?php $handle = fopen("report.txt", "r"); if ($handle) { // Read the whole file using its size in bytes $data = fread($handle, filesize("report.txt")); echo $data; fclose($handle); } ?>
Click Run to execute this code.