HomePHP Page 7 - Clicking Through: A phpBanner Primer
Different Strokes - 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!
While using the "client" keyword selection makes sense if you get an exclusive advertiser, the truth is that you will have many advertisers vying for the prime spots on your site. And you're interested in satisfying as many clients as possible so that you can buy your own island and retire. Which is why you might prefer this:
<? $banner=get_banner("keyword","kids"); ? >
In this case, phpBanner will display a random banner containing the keyword kids.
You can even display a banner on the basis of its dimensions. Consider the following example, which displays a random banner of size 400x60:
<?php <? $banner=get_banner("size","400x60"); ? >
And if you're wondering if you can call this function more than once in your PHP script, no sweat. Take a look at the next example, which contain two banners, one at the top and one at the bottom of the page, and see how you can get rich twice as fast:
In case you're wondering if the same banner can appear more than once on the page, the developer clearly states that "...you may call get_banner() as many as you want, it won't be return any similar banner_id..."
Finally, the most important feature, at least as far as your advertisers are concerned: the reports which demonstrate how many eyeballs have seen their banners, and how many clicks have resulted. In order to assist you in generating these reports, phpBanner comes with a fairly simple report generating module.
All your clients can access banner statistics by clicking on the "My Banner" option in the menu. After entering their credentials, the Banner Manager will appear on the screen.
The above screen give the advertiser a quick overview of the number of hits and clicks of each and every banner uploaded to the application.