I'm using this to gather info from a page:
Code: Select all
<?php
$page = fopen("pageinfo.php", "r");
$html = fread($page, 800); //number of characters to get
fclose($page);
echo "$html";
?>
But I want to tell it not to get the info from the top of the page, but from a certain line of code onwards...
line of code where the info starts:
Code: Select all
<table width=468 cellpadding=0 cellspacing=0 border=0>
however, I can't edit the source page because it isn't mine (but using it with their permission) and the line of code I want it to start reading from isn't always on the same line number, because above it is a live news feed which varies in length every hour.
Is this possible, if so could someone tell me how
thanks.