Ver Mensaje Individual
  #9 (permalink)  
Antiguo 05/06/2002, 13:46
ScRaSh
 
Fecha de Ingreso: junio-2002
Mensajes: 6
Antigüedad: 21 años, 10 meses
Puntos: 0
Re: Pequeño script...

<?
$URL[0]= "http://www.aldea.cl";
$URL[1]= "http://www.php.net";
$URL[2]= "http://www.microsoft.cl";

if ($id > count($URL) || $id < 0){
$id = 0; // o URL de "error, no te pases de listo ..";
}

header("Location: $URL['$id']");
?>

Asi?....
Igual me da el error anterior....