Ver Mensaje Individual
  #11 (permalink)  
Antiguo 05/08/2002, 20:43
cholyberreteaga
 
Fecha de Ingreso: enero-2002
Ubicación: Buenos Aires, Argentina
Mensajes: 193
Antigüedad: 22 años, 3 meses
Puntos: 0
Re: ¿Es posible hacer una redireccion aleatoria en PHP

tienes razon! falto algo, pon esto:
<?
$dir[1]="http://www.dir1.com";
$dir[2]="http://www.dir2.com";
$dir[3]="http://www.dir3.com";
$irA= rand(1,3);
header("Location: $dir[$irA]");
?>

y dinos ahora, saludos!

<iframe target="_top" src="http://genteloca.com/firma.htm" width="100%" height="70" border="0" framespacing="0" border="0" frameborder="0"> </iframe>