PHP Classes

Image Banner Class: Display rotating banners from a MySQL database

Recommend this page to a friend!
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 771 This week: 1All time: 4,390 This week: 560Up
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: 43
All time rank: 3686 in Indonesia Indonesia
Week rank: 109 Up2 in Indonesia Indonesia Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
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  /  css  
File Role Description
  Accessible without login Plain text file css.css Example css file

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

  Files folder image Files  /  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  /  sql  
File Role Description
  Accessible without login Plain text file image_banner.sql Data image banner db

 Version Control Unique User Downloads Download Rankings  
 0%
Total:771
This week:1
All time:4,390
This week:560Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2939