Qbanner is a Perl+MySQL ad server (GIF, JPEG, PNG ads) with graphical, tabular stats and cache busting.