misto "src" pouzij "location":
Kód:<?php $handle = fopen("linky.txt", "r"); while (!feof($handle)) { $links[] = fgets($handle, 4096); } fclose($handle); ?> <script type="text/javascript"> function redir () { parent.nazev_framu.location = "<?= $links[rand(0,count($links)-1)]; ?>"; } setTimeout("redir();",5000); </script>





Odpověď s citací