![]() |
|
|||
|
3 tane :
<meta http-equiv='Refresh' content='1; URL=http://www.sitem.com'> <meta http-equiv='Refresh' content='1; URL=http://www.sitem2.com'> <meta http-equiv='Refresh' content='1; URL=http://www.sitem3.com'> bunları aynı sayfada rasgele çıkartacak kod lazım şimdiden saolun. ( php kod bilgim yok ) |
|
||||
|
en basit hali ile;
<?php $i = rand(1, 3); if($i == 1) echo "<meta http-equiv='Refresh' content='1; URL=http://www.sitem.com'>"; else if($i == 2) echo "<meta http-equiv='Refresh' content='1; URL=http://www.sitem2.com'>"; else echo "<meta http-equiv='Refresh' content='1; URL=http://www.sitem3.com'>"; ?>
__________________
Alfaserver.net TR Lokasyon Hızlı ve Güvenli Web Hosting |
![]() |
| Seçenekler | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
| şöyle bir program lazım | imazy | Webmaster Genel Konular | 24 | 2008-03-26 19:42 |
| şöyle bişey yapmak ? | Unutmam | PHP | 1 | 2006-10-16 16:39 |
| şöyle bir script arıyorum... | bigowner | PHP | 1 | 2006-06-22 20:21 |
| Şöyle bir kod gerekli | Zion | PHP | 3 | 2006-04-13 23:57 |
| şöyle bir şey yapsak | neco83 | Forum Hakkında | 1 | 2003-05-20 17:42 |