|
Assign the banner a unique URL through a parsed script. For example, banner.php?banner_id=XX and then have the PHP script log the hit in a table. Then, you can fairly easily summarize the total number of hits for the banner and do any necessary processing. If you expect the site to be fairly busy, you may want to create the log and have that table duplicated on a remote server for doing processing and then update a primary table to simply hold the number of hits so that that number may be displayed without having to calculate it.
__________________
Jeremy Miller
Please login or register to view this content. Registration is FREE
|