Hola
FlamingoX
Creo que esto te serviría y resulta más sencillo:
Código PHP:
<html>
<head>
<script type="text/javascript">
function ini() {
dire = location.search.split('=')[1];
pepe.location = dire;
}
</script>
</head>
<body onload="ini()">
<iframe name="pepe"></iframe>
</body>
</html>
Saludos,