Vejam que simples e funcional!!
<?php
#----------------------------------------------------
# [ SISTEMA DE BANNER simples - por: felipensp ]
#--- --- --- --- --- --- --- --- --- --- --- --- ---
# "O temor ao Senhor é um fonte de vida e ajuda
# a evitar as armadilhas da morte." PV 14:30
#----------------------------------------------------
$banner[][imagem] = "banner.gif";
$banner[][url] = "http://www.wmonline.com.br/";
$banner[][alt] = "O melhor site de webmasters no BR!";
$banner[][imagem] = "banner.gif";
$banner[][url] = "http://www.phplocal.com.br/";
$banner[][alt] = "Melhor site para programadores PHP!";
// rotacionando
$r = rand(0, sizeof($banner) - 1);
// exibindo o banner
echo '<a href="'.$banner[$r][url].'"><img src="'.$banner[$r][imagem].'" alt="'.$banner[$r][alt].'" border="0"></a>';
?>
Como adicionar mais banners!?
-> Basta você copiar as três linhas de comando abaixo .
$banner[][imagem] = "banner.gif";
$banner[][url] = "http://www.site.com.br/";
$banner[][alt] = "Click!";
Viu como é fácil?! Dúvidas? posta ae!