Home arrow PHP arrow 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.

TABLE OF CONTENTS:
  1. Commercial Break (A phpAds Primer)
  2. Getting Started
  3. The Toy Store
  4. Different Strokes
  5. Room With A View()
  6. The Advanced Course
  7. Access Denied
  8. The Number Game
  9. Endgame
By: Harish Kamath, (c) Melonfire
Rating: starstarstarstarstar / 2
July 30, 2002

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
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.



 
 
>>> 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: