?
//PHP News Crawl by Neil Moomey,.
//You are free to use this code as your wish.
//Please make sure you can get permission from the title from any website you grab.
//You may need to write the title on your server to speed up the file.
//grab from File or Web page source code site
if (!) ( $myFile =fopen (http://www.111cn.net, "R"))
{
echo "The News interface is down for maintenance."
Exit
}
while (!feof ($myFile))
{
Read each line and add to $myLine
$myLine. =fgets ($myFile, 255);
}
Fclose ($myFile);
//Unzip everything between the beginning and the end. You need to include these lines
///Choose some unique sub in the title or select the beginning of the HTML celebration
//And the news is over.
$start = "$start _position=strpos ($myLine, $start);
$end _position=strpos ($myLine, $end) +strlen ($end);
$length = $end _position-$start _position;
$myLine =substr ($myLine, $start _position, $length);
Display HTML
Echo $myLine;
?>