Commercial Break (A phpAds Primer) - Access Denied
(Page 7 of 9 )
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 209.34.56.1.

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.
Next: The Number Game >>
More PHP Articles
More By Harish Kamath, (c) Melonfire