HomePHP Page 7 - Commercial Break (A phpAds Primer)
Access Denied - 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.
It's also possible to further customize the display of each banner via an access control list (ACL). This access control list can be defined per banner, and it allows you to control the display of each banner by IP address, day of the week or client browser.
The following example demonstrates restricting banner display only to the client at the IP address 18.104.22.168.
You can also restrict a banner to be only displayed on certain days of the week - as in the following example, which sets banner display to Tuesday only.
Finally, you can use a regular expression to match banners to client browsers - the following example only displays the banner to users running the Opera browser.