PHP Classes

Concurrent Code Rotator: Serve a random advertisement from multiple options

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 738 All time: 4,529 This week: 673Up
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: 22 packages by
Country: United States United States
Age: 44
All time rank: 61 in United States United States
Week rank: 215 Down24 in United States United States Down
Innovation award
Innovation award
Nominee: 7x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:738
This week:0
All time:4,529
This week:673Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2999