Caesar adlı üyeden alıntı: mesajı görüntüle
$resimler = array(
 "http://www.local.dom/resim_adresi1.jpg",
 "http://www.local.dom/resim_adresi2.jpg",
 "http://www.local.dom/resim_adresi3.jpg",
 "http://www.local.dom/resim_adresi4.jpg",
 "http://www.local.dom/resim_adresi5.jpg"

);

$rastgele=mt_rand(0,4);

echo  "<img src='".$resimler[$rastgele]."' />";

hocam s.a
bu kodun .php sayfa olması için nasıl yapacağız
mobil1.php
mobil2.php
mobil3.php
mobil4.php şeklinde sayfalarım var ve bu sayfaları her sayfa açıldığında rastgele birinin çalışmasını istiyorum.

Yardımcı olurmusunuz acaba?