/// include 'maintop.htm'; // $head_file="../top.htm"; // $fd = fopen("$head_file", "r") or die('cannot open $head_file'); // while(!feof($fd)) { // $line = fgets($fd, 4096); // print ("$line"); // } # end while # fclose($head_file); // // //include '../links.htm'; $links_file="crMainLinks.htm"; $fd = fopen("$links_file", "r") or die('cannot open $links_file'); while(!feof($fd)) { $line = fgets($fd, 4096); if (preg_match ("/Main/", $line)) { # ingore } else { print ("$line"); } } # end while # fclose($head_file); ?>