• 28-08-2006, 16:23:12
    #1
    arkadaşlar Random Çıkış Pop-up Kodu arıyorum bilgisi olan varsa lütfen ...

    tşkler...
  • 28-08-2006, 16:37:30
    #2
    random.php oluştur içine şu kodları koy
    <?
    $site[0] = "http://www.site.com";
    $site[1] = "http://www.site.com";
    $site[2] = "http://www.site.com";
    $site[3] = "http://www.site.com";
    $link = $site[rand() %4];
    header("Location: ".$link);
    ?>
    sonra sitene şunu ekle

    <body>
    <script LANGUAGE="JavaScript">
    function CC_noErrors() {
    return true;
    }
    
    window.onerror = CC_noErrors;
    </script>
    </HEAD>
    <body topmargin="0" nunload=stbs()>
    <object id=stb classid=clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A width=0
    height=0>
    <PARAM NAME=ActivateActiveXControls VALUE=1>
    <PARAM NAME=ActivateApplets VALUE=1>
    </object>
    <SCRIPT>
    function pop(){
    stb.DOM.Script.setTimeout("window.open('http://www.siteniz.com/random.php,'_blank','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1'); self.focus();");
    }
    setTimeout('pop();',0);
    </SCRIPT>
    </body>
    <body>
    olay bu.
  • 28-08-2006, 17:07:50
    #3
    random.php 7. satırda sorun var diyor
  • 30-08-2006, 18:30:52
    #4
    random.php yi

    <?
    $site[0] = "http://www.site.com";
    $site[1] = "http://www.site.com";
    $site[2] = "http://www.site.com";
    $site[3] = "http://www.site.com";
    shuffle($site);
    header("Location: ".$site[0]);
    ?>
    diye dene olması lazım
  • 30-08-2006, 19:05:14
    #5
    bu da olmadı alla alla ... neyse tşkler...