Intenta ser respetuoso con el resto de los usuarios o podrías ser sancionado.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=ANSI"><title>Iframe - <?php echo $_GET['u'] ?></title></head> <iframe id="frame" src="http://<?php echo $_GET['u'] ?>" width="100%" frameborder="0" marginheight="0" marginwidth="0"></iframe><script type="text/javascript">function resizeIframe() { var height = document.documentElement.clientHeight; height -= document.getElementById('frame').offsetTop; // not sure how to get this dynamically height -= 30; /* whatever you set your body bottom margin/padding to be */ document.getElementById('frame').style.height = height "px";};document.getElementById('frame').onload = resizeIframe;window.onresize = resizeIframe;</script>
<?php$segundos = 5; //Numero de Segundos en redirigir?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head><META HTTP-EQUIV="Refresh" CONTENT="<?php echo $segundos ?>; URL=http://<?php echo $_GET['u'] ?>"><meta http-equiv="content-type" content="text/html; charset=ANSI"><title>Redirigiendo - <?php echo $_GET['u'] ?></title></head> Estás siendo redirigido a <?php echo $_GET['u'] ?> en <?php echo $segundos ?> segundos.