Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/03/2008, 18:31
Avatar de MoDoRrO
MoDoRrO
 
Fecha de Ingreso: septiembre-2005
Ubicación: Php+Flash+AS
Mensajes: 1.072
Antigüedad: 18 años, 7 meses
Puntos: 12
Re: Redireccion del tipo out.php=http://www.google.es

Código PHP:
<?php

$cual
=$_GET['url']; // pasara asi: out.php?url=http://www.google.com.mx

header("Location: $cual");

// es necesario que incluyas: http://
//si solo quieres que sea asi: out.php?url=google.com.mx
//debes de utilizar STRS o similar para detectar y agregarselo y despues
//redireccionar

?>
?>