PHP Classes

Concurrent Code Rotator: Serve a random advertisement from multiple options

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-05-20 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 718 All time: 4,301 This week: 1,550Up
Version License Categories  
ccrotator 1.0.0GNU General Publi...Text processing, Content management
Description Author  

This class can pickup a random text from multiple random alternatives. The text may be code in PHP, HTML, Javascript, etc., for instance to serve rotating advertisements.

It uses special random number generation algorithm which allows to control the frequency and probability of appearance per working cycle.

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <contact>
Classes: 28 packages by
Country: Armenia Armenia
Age: 35
All time rank: 61 in Armenia Armenia
Week rank: 27 Down1 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Plain text file ccrotator.class.php Class Source code
Accessible without login Plain text file test.php Example Sample code

 Version Control Unique User Downloads Download Rankings  
 0%Total:718All time:4,301
 This week:0This week:1,550Up