Home arrow PHP arrow Page 5 - Clicking Through: A phpBanner Primer

Hits And Misses - PHP

As your Web site gets more and more popular, you're going to need a capable banner management program to help you keep track of customers, banners and clicks. Take a look at phpBanner, which just might be what you're looking for!

TABLE OF CONTENTS:
  1. Clicking Through: A phpBanner Primer
  2. Start Me Up
  3. Client Server
  4. Of Pictures and Words
  5. Hits And Misses
  6. Hooking Up
  7. Different Strokes
  8. Clicking Through
By: Melonfire
Rating: starstarstarstarstar / 16
April 21, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Once your customers have diligently uploaded their images and created their banners, you need to activate them (after you've got their money, of course!) So click on the "Admin Page" link, enter your password (you did add authentication to this page, didn't you?) and then select the "Banner" menu item.

If all goes well, you will see a neat listing of all the banners that have been uploaded by your client(s) to the site, as below:

phpBanner

Click the name of the banner image and the following screen gives you more information about it:

phpBanner

Once you have checked that the client as well as the banner are authentic, go back to the listing screen and click the "Edit" link next to the banner. You'll be taken to the "Modify Banner" screen, which looks like this:

phpBanner

The "Keyword" value allows you to specify a word to be associated with the banner. As you will soon see, this is useful when it comes to displaying custom banners at specific locations on your site.

The "Hits Reserved" value represents the number of the times that the selected banner will be displayed on your site, while the "Clicks Reserved" parameter allows you to decide the number of clicks on the banner. How do these work? Simple: the banner will automatically be disabled once it exceeds the values specified for both the "Hits Reserved" and "Clicks Reserved" parameters. So, if you have set a banner to 10 hits but 25 clicks, the banner will continue appearing until it receives 25 clicks. Keep this in mind when you decide the values for these parameters.

Once we are done with these banner-specific parameters, use the "Active" flag to enable the banner and allow it to be displayed on your site. And yes, you can turn off a banner at any time by just setting this value to "disable".



 
 
>>> More PHP Articles          >>> More By Harish Kamath, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: