PHP Classes

Image Banner Class: Display rotating banners from a MySQL database

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: 771 All time: 4,391 This week: 488Up
Version License PHP version Categories
imagebannerclass 1.0GNU General Publi...3.0HTML, Databases, Content management
Description 

Author

This class can be used to display rotating banners from a MySQL database.

It queries a MySQL database table to retrieve the details of random banner of a given category.

The class generates HTML to display the a link with the banner image.

It also handles requests that redirect to the banner URL when the user clicks on the banner. It records information about the users that clicked in the banners, except for those from users of banned IP addresses.

Picture of Usman Didi Khamdani
Name: Usman Didi Khamdani is available for providing paid consulting. Contact Usman Didi Khamdani .
Classes: 9 packages by
Country: Indonesia Indonesia
Age: 44
All time rank: 3686 in Indonesia Indonesia
Week rank: 192 Up5 in Indonesia Indonesia Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (12)  
File Role Description
Files folder imagecss (1 file)
Files folder imageimages (1 directory)
Files folder imagesql (1 file)
Accessible without login Plain text file banner.php Example banner page
Accessible without login Plain text file conn.inc.php Conf. db connection
Accessible without login Plain text file content.php Example display image banner on the page
Plain text file image_banner.class.php Class main class source

  Files folder image Files (12)  /  css  
File Role Description
  Accessible without login Plain text file css.css Example css file

  Files folder image Files (12)  /  images  
File Role Description
Files folder imagebanner (6 files)

  Files folder image Files (12)  /  images  /  banner  
File Role Description
  Accessible without login Image file bg.png Photo example background image
  Accessible without login Image file edelweis-art1.jpg Photo example banner image
  Accessible without login Image file edelweis-art2.jpg Photo example banner image
  Accessible without login Image file not_found1.jpg Photo example banner image
  Accessible without login Image file not_found2.jpg Photo example banner image
  Accessible without login Image file not_found3.jpg Photo example banner image

  Files folder image Files (12)  /  sql  
File Role Description
  Accessible without login Plain text file image_banner.sql Data image banner db

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:771
This week:0
All time:4,391
This week:488Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2983