Hola, he hecho este script en PHP, pero no logro saber porqué no se ve el iframe, lo he probado desde localhost.
Código PHP:
Ver original<?php
//Recibe por URL la web
$web=$_GET['web'];
//strstr() ...según busca la cadena dentro de otra
if(strstr($web,"forosdelweb")) { ?>
<iframe scrolling="NO" src="<?php echo $web;?>" frameborder="0" height="400" width="600"></iframe>
<?php }
elseif(strstr($web,"maestrosdelweb")) { ?>
<iframe scrolling="NO" src="<?php echo $web;?>" frameborder="0" height="400" width="600"></iframe>
<?php }
elseif(strstr($web,"identi.ca")) { ?>
<iframe scrolling="NO" src="<?php echo $web;?>" frameborder="0" height="400" width="600"></iframe>
<?php }
else
{ ?>
<iframe scrolling="NO" src="<?php echo $web;?>" frameborder="0" height="auto" width="auto"></iframe>
<?php }
?>