• 22-03-2009, 12:49:50
    #1
    Üyeliği durduruldu
    merhaba arkadaşlar elinde sayfa yenilendikce eklediğim sitelere otomaik olarak gidicek bir arıyorum sayfa her yenilendikce yeni bir giriş oldukca eklediğin sitelere sıra ile gitmesini istiyorum elinde böyle bir kod olan varmı

    not : tek bir siteye değil birden fazla site eklicem
  • 22-03-2009, 16:14:21
    #2
    Üyeliği durduruldu
    Selam, mesela 10 sayfayi tek sayfada yenilenerek yönlendirmek istiyorsun mantik cok kolay.

    10 index olustur .. 5 saniyede bir yönlensin... ama istege göre degisdirebilirsin

    index.html - <meta http-equiv="refresh" content="5; URL=1.html">
    1.html - <meta http-equiv="refresh" content="5; URL=2.html">
    2.html - <meta http-equiv="refresh" content="5; URL=3.html">
    3.html - <meta http-equiv="refresh" content="5; URL=4.html">
    4.html - <meta http-equiv="refresh" content="5; URL=5.html">
    5.html - <meta http-equiv="refresh" content="5; URL=6.html">
    6.html - <meta http-equiv="refresh" content="5; URL=7.html">
    7.html - <meta http-equiv="refresh" content="5; URL=8.html">
    8.html - <meta http-equiv="refresh" content="5; URL=9.html">
    9.html - <meta http-equiv="refresh" content="5; URL=10.html">

    Son .html indexmizde 10 olucak ve 10da indexe yönelcek yane böyle..

    10.html - <meta http-equiv="refresh" content="5; URL=index.html">


    Umarim yardimci olabilmisimdir ...
    random scriptide yazilabilir ama kolay ve basit olan yöntem budur.
  • 22-03-2009, 18:46:33
    #3
    Üyeliği durduruldu
    saolasin kardesim
  • 27-03-2009, 15:13:53
    #4
    Üyeliği durduruldu
    bu kod olmadı başka varmı acaba kimsenin elinde ?
  • 27-03-2009, 16:36:45
    #5
    iRootMedia adlı üyeden alıntı: mesajı görüntüle
    Selam, mesela 10 sayfayi tek sayfada yenilenerek yönlendirmek istiyorsun mantik cok kolay.
    10 index olustur .. 5 saniyede bir yönlensin... ama istege göre degisdirebilirsin
    index.html - <meta http-equiv="refresh" content="5; URL=1.html">
    1.html - <meta http-equiv="refresh" content="5; URL=2.html">
    2.html - <meta http-equiv="refresh" content="5; URL=3.html">
    3.html - <meta http-equiv="refresh" content="5; URL=4.html">
    4.html - <meta http-equiv="refresh" content="5; URL=5.html">
    5.html - <meta http-equiv="refresh" content="5; URL=6.html">
    6.html - <meta http-equiv="refresh" content="5; URL=7.html">
    7.html - <meta http-equiv="refresh" content="5; URL=8.html">
    8.html - <meta http-equiv="refresh" content="5; URL=9.html">
    9.html - <meta http-equiv="refresh" content="5; URL=10.html">
    Son .html indexmizde 10 olucak ve 10da indexe yönelcek yane böyle..
    10.html - <meta http-equiv="refresh" content="5; URL=index.html">
    Umarim yardimci olabilmisimdir ...
    random scriptide yazilabilir ama kolay ve basit olan yöntem budur.
    Bunu denediğinizde refreshlediğinizde ne kadar link olursa olsun 1.html ye gider sadece
  • 24-08-2009, 17:22:52
    #6
    Üyeliği durduruldu
    yukarda verdigim kod calisiyor !!
    her 5 saniyede bir sayfa degisme kodu ama öncelikle .html sayfalari olusturman lazim 1.2.3 diye saniyeyi content="5'' den degisdirebilirsin
  • 21-09-2009, 02:19:42
    #7
    saolun güzel kod
  • 12-10-2009, 12:44:19
    #8
    PHP olarak istersen şöyle bi çözüm sunabilirim...

    <?
    if (empty($sayfa)){$sayfa=0;}else{$sayfa = $_GET['sayfa'];}
    $sonraki = $sayfa+1;
    $onceki = $sayfa-1;
    $saniye = 5;
    echo '<meta http-equiv="refresh" content="'.$saniye.'; URL=http://www.erguner.net/'.$sonraki.'.html">';
    ?>
    Bu kod ile sürekli bi sonraki sayfaya gidersin... random bi olay istiyorsan kendin yapabilirsin yapamam sen yaz dersen söyle yazarım
  • 24-01-2010, 19:41:30
    #9
    Üyeliği durduruldu
    teşekkürler