Ec (2); & lt ;? PHP News captured by NeilMoomey ,. You can use this code as your wish. Please make sure that you can get the title license from any website. You may need to write the title on your server to speed up the file. Grab the source code from a file or webpage. if (! ($ MyFilefopen (www.111cn.net, & quot; r & quot;) {script ec (2); script
// The PHP news is captured by Neil Moomey ,.
// You can use this code as your wish.
// Make sure that you can get permission from any website and from the title.
// You may need to write the title on your server to speed up the file.
// Grab the source code website from a file or webpage
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 );
// Decompress the package between start and end. You need to include these rows
// In the title or select some unique sub-scripts to start celebrating in HTML
// 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;
?>