PX : code by Robert Peake

TitleSectionRating Views Last Modified    
webring 1.0 HTML : other -- 4269 2000-11-25 20:14:50 [ link ]
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.

Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.