<?php
$dosya="";
mt_srand((double)microtime()*1000000);
$sayi = mt_rand(1, 10);
if ($sayi == 1) {
$dosya= "<a href=http://www.yenibirforum.info target=_blank><img src=images/info.gif border=0></a>";
} elseif ($sayi == 6) {
$dosya= "firefox.html";
} elseif ($sayi == 3) {
$dosya = "1.txt";
} elseif ($sayi == 4) {
$dosya="2.html";
} elseif ($sayi == 5) {
$dosya="3.html";
} elseif ($sayi == 2) {
$dosya = "4.html";
} elseif ($sayi == 7) {
$dosya = "5.txt";
} elseif ($sayi == 8) {
$dosya = "6.html";
} elseif ($sayi == 9) {
echo"<a href=http://www.turktoplist.org target=_blank><img src=images/ttl.gif border=0></a>";
}elseif ($sayi == 10) {
echo"<a href=http://www.yenibirforum.com target=_blank><img src=webgenc.gif border=0></a>";
}
@include("$dosya");
?>Bunu Kullanıyorum