From: iain t. <ic...@eh...> - 2001-11-16 06:02:41
|
* Joseph F. Ryan (rya...@os...) [16 Nov 2001 05:58]: [...] > The algorithm would work something like this: first, the guestbook > page is read in. It is gone through line by line, printing each line > if it does not contain <!--BEGIN-->, until the first line where > <!--BEGIN--> is encountered, at which point the loop exits. The > entries are then printed. Then the rest of the page is printed. But, but --- it *does* use that method. It reads the entire file in, then prints it back out to itself. If it finds the string '<!-- begin -->' it emits the new entry. cheers, -- iain. <http://eh.org/~koschei/> |