S
scopefragger
Guest
I currently use the following code
"<?
$myFile = "testFile.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, 500);
fclose($fh);
echo $theData;
?>"
this reads a single file, i need to read all files within the directory "selling" and have them displayed on 1 page
the folder will be dynamic and the filenames will be unknow, the code given by ryan only helps if you know the name of the files
"<?
$myFile = "testFile.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, 500);
fclose($fh);
echo $theData;
?>"
this reads a single file, i need to read all files within the directory "selling" and have them displayed on 1 page
the folder will be dynamic and the filenames will be unknow, the code given by ryan only helps if you know the name of the files