Hi ,
I have made a simple module to grab whole/part of html file from server..
<?PHP
function grab_url($url,$start_tag,$end_tag)
{
$strSource="linuxclub.org";
$GrabFile = $url;
$fPtr = fopen( $GrabFile, "r" );
while (!feof ($fPtr))
{
$buffer = fgets($fPtr, 4096);
$strSource.= $buffer;
}
$spos = strpos($strSource, $start_tag);
$epos = strpos($strSource, $end_tag);
$endpos=strlen($strSource) - $spos;
$rest = substr($strSource, $spos, $epos-$spos);
echo $rest;
fclose ($fPtr);
}
grab_url("http://192.168.3.3/ebook/list.html","<B>Distributions matched:</B>","<!-- footer -->");
?>