webring (C) 2000 Robert Peake
Released under GNU Lesser Public Licesne
extends the loopedArray class
requires the file "loopedArray.inc"
webring webring (string filename, string HTTP_REFERER) :
constructor for webring -- takes in a file of URLs,
one per line, and makes them into a webring
void next() :
returns the url in the webring after the referrer url
void prev() :
returns the url in the webring before the referrer url
void random() :
returns a random URL from the webring
|