PHP Classes

Concurrent Code Rotator: Serve a random advertisement from multiple options

Recommend this page to a friend!
  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 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 724 All time: 4,391 This week: 1,099Up
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: 23 packages by
Country: Armenia Armenia
Age: 36
All time rank: 61 in Armenia Armenia
Week rank: 45 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  
This week:0
All time:4,391
This week:1,099Up