• 28-06-2018, 22:00:03
    #1
    merhaba, bir php sayfada rastgele olarak istedigim siteyi iframe olarak nasil yayinlayabilirim? tam ekran o site nasilsa buda oyle olsun
  • 28-06-2018, 23:41:04
    #2
    <?php
    	// r10.net - ceu
    	$Sites = array(
    		"https://r10.net",
    		"https://analiz.r10.net"
    	);
    	Shuffle($Sites);
    
    	echo "<iframe align=\"center\" width=\"100%\" height=\"100%\" src=\"{$Sites[array_rand($Sites)]}\" frameborder=\"yes\" scrolling=\"yes\" name=\"myIframe\" id=\"myIframe\"></iframe>";
    ?>
  • 28-06-2018, 23:44:33
    #3
    Ceu adlı üyeden alıntı: mesajı görüntüle
    <?php
        // r10.net - ceu
        $Sites = array(
            &quot;https://r10.net&quot;,
            &quot;https://analiz.r10.net&quot;
        );
        Shuffle($Sites);
    
        echo &quot;<iframe align=&quot;center&quot; width=&quot;100%&quot; height=&quot;100%&quot; src=&quot;{$Sites[array_rand($Sites)]}&quot; frameborder=&quot;yes&quot; scrolling=&quot;yes&quot; name=&quot;myIframe&quot; id=&quot;myIframe&quot;></iframe>&quot;;
    ?>
    tesekkurler deneyince bilgi veririm