Hi,
Perhaps by using a PhP script which will increment a value in the database with 1 whenever it is loaded, and which will output an imagestream.
You can then include this page as an image on your website:
<img src="BannerPage.php?image=3" name="Banner by Me">
J.
--Edited:
You can do a similar thing for the clicks: Whenever the banner is clicked, a page on your server is laoded, which increments the correct value in your counter file/database, and then performs a header redirect to the correct page --