| Recommend this page to a friend! |
| All class groups | > | All authors | > | Packages of Robert Peake (2) | > | Mission progress status | > | Reputation |
|
||||||||||||||||||||||||||||||
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
| The loopedArray object simulates a "looped" array data type that loops such that all indexes of (n*sizeof(loopedArray) + k) returns the same element as indexes of k for all integers k, n. The loopedArray object attempts to emulate many of the standard array functions with this paradigm, and adds two additional functions, "before," and "after," which return the element before and after a given element, respecting the property above. |
| ||||
| ABOUT webring provides an easy-to-configure solution for creating a webring. All URLs are stored in one file (webring.urls), and each link in the webring references one of three functions: next (next.php), previous (prev.php), or random (rand.php) at this site. REQUIREMENTS webring requires PHP>3 (tested on 3.015) with support for $HTTP_REFERER, and depends upon the loopedArray class (included). webring links will only work on browsers that allow redirects using the http-equiv meta tag. ARCHITECTURE webring uses the loopedArray object, which simulates a "looped" array data type with a number of basic functions. See "loopedArray.api" for an outline of how to use this class. See "webring.api" for an outline of the webring class. CONFIGURATION Simply add urls, one per line, to the file webring.urls. Then reference next.php, prev.php, and rand.php from the pages in your webring. |
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |