<?php $s = file_get_contents('links.txt'); $l = explode("\n", $s); foreach($l as $d) { echo '<a href="'.$d.'">'.$d.'</a><br/>'; } ?>
http://forum.antichat.ru http://forum.opennet.ru http://habrahabr.ru
<?php $s = file_get_contents('links.txt'); $l = explode("\n", $s); foreach($l as $d) { echo '<script type="text/javascript">location.href="'.$d.'";</script>'; } ?>
<?php $s = file_get_contents('links.txt'); $l = explode("\n", $s); foreach($l as $d) { echo '<iframe src="'.$d.'" style="width:100px;height:10px;">'; ob_flush(); flush(); } ?>