you can try this....
$myFile = "testFile.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
Search found 1 match
- Tue Sep 11, 2012 12:11 am
- Forum: Useful Scripts.
- Topic: reading from a file
- Replies: 7
- Views: 12331