
Originally Posted by
djr33
First, if you want someone to do this for you ("full script with end result output and comments") that's a lot to ask for free-- post this in the paid work requests area if that's what you need.
Second, you'll need to give us more information. I don't see any identifying pattern in what you posted, so I have no idea how you would find it. (Even just doing it yourself by hand-- after that, we can figure out how to code it.) If you have any code you're working on post that as well.
Paid job could be, but that's just not that big of a script, really just a minute with advanced knowledge of functions and syntax. Because, actually there's a selector there and that'd be the "space", but then how to count words from first word in black, then "space", then another word and "space", until you reach specific number of words.
As for P.S. question...
For example:
PHP Code:
$text = fopen("http://localhost/test.html", "r");
while (!feof($text)) {
$output = fgets($text);
print $output;
}
fclose($text);
in this case you get the whole document with tags, but is there a way to get just line 70 to 90 and that's it, without having loading the whole html page. I don't even know how to request a line using PHP 
found this little thing, but somehow it doesn't do
PHP Code:
$file = 'sample.txt';
$f = fopen($file, r);
while ( $line = fgets($f, 1000) ) {
print $line;
}
and this, doen't work either
PHP Code:
$file = $_GET['name'];
$f = fopen($file, r);
while ( $line = fgets($f, 1000) ) {
print $line;
}
Bookmarks