PHP Classes

Packages of Robert Peake

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Robert Peake (2)  >  Mission progress status  >  Reputation  
Picture of Robert Peake
Name: Robert Peake <contact>
Classes: 2
Country: United States United States
Age: 47
All time rank: 1812257 in United States United States
Week rank: 195 Up19 in United States United States Up
All time users: 1547
Week users: 0
 
  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  
  Files folder image loopedArray  
The loopedArray object simulates a "looped" array data type that loops such
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.

  Files folder image webring 1.0  
webring provides an easy-to-configure solution
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