I think this might work:
use the readline() function
PHP Code:
<?php
for ($i=$start; $i < $limit; $i++) {
$line = readline ("Link: " );
readline_add_history ($line);
}
print_r (readline_list_history());
?>
the $start on the first page wold be zero and $limit would be 101.
and when the first page is displayed...your link to the second page would make $start = $limit [previous one, i.e 101] and your $limit = $201
and so on.
The only thing I cannot figure out how to make the readline() function start reading from line 101 to 201 or end of file if numbre of links < 201.
maybe there is a countline function somewhere or you can implement your own...sometihng like setting a flag (anchor?) after 101 and 201 etc.
it could work.
Bookmarks