How to read a file?

How to pull the information from the file if the file record

$page_title = ";
$page_h1 = ";
$page_descr = ";
$page_keyws = ";
$page_4menu = ";
$the primary objective of BCC = '1';

$page_content = <<< EOT EOT;

try the whole thing so frustrating and how to read variables
$path = "cron-files";
$dir = opendir($path);
echo "";
while ($file = readdir($dir)) {

 if ( $file != "." && $file != ".." && $file != ".htaccess" ) {
 $content=file_get_contents($path . '/'. $file);

 echo "";
}
}
echo "<table border="1"><tbody><tr><th>content</th></tr><tr><td>$content</td></tr></tbody></table>";
closedir($dir);
June 14th 19 at 20:02

Find more questions by tags PHP