
PHP Read File
This script will allow you to Read a file named text.txt (which we had written to in the write script)
Script Source
<?php
$myFile = "text.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?>
Please let me know if this script was helpful to you.
[rating]