HomePHP Page 9 - Commercial Break (A phpAds Primer)
Endgame - PHP
Wanna make some money from your Web site? The simplest way tostart is by opening it up to advertisers - and if you decide to go thatroute, you're going to need a capable banner management program to helpyou keep track of customers, banners and clicks. Lukily, we've got justthe thing - say hello to phpAds.
And that's about it for this tutorial. In this article, I introduced you to one of the more popular banner management programs out there, and explained how you could integrate and use it on your own Web site. I guided you through the process of installing and configuring phpAds, showed you how to add clients and banners, and also illustrated, with a simple example, the additions you need to make to your Web pages to display these banners. Finally, I rounded the discussion up with a look at some of the additional options available in the view() function, and a brief description of the data that is generated via the application's statistics module.
I hope you found all of the above interesting, and that it encouraged you to try out phpAds on your own Web site. So go on - give it a shot...and if you hit it big, remember to invite me to the party!
Note: All examples in this article have been tested on Linux/i586 with PHP 4.2.0, Apache 1.3.12 and phpAds 1.4.20. Examples are illustrative only, and are not meant for a production environment. Melonfire provides no warranties or support for the source code described in this article. YMMV!