Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/05/2008, 13:15
Avatar de jhonmelguizo
jhonmelguizo
 
Fecha de Ingreso: enero-2008
Ubicación: Medellín - Colombia
Mensajes: 264
Antigüedad: 16 años, 3 meses
Puntos: 6
Respuesta: Redireccionar url

Cita:
Iniciado por the_scorpion Ver Mensaje
No entieno muy bien la pregunta pero si lo que quieres que te redirecione de una web a otra
usa este codigo
html.
<META HTTP-EQUIV="Refresh" CONTENT="3"; URL=http://www.dominio.com">

php
<?php
header('Location: http://www.dominio.com/');
?>
espero que esto sea y te sirva de algo
Amigo, si me entendió pero me sale un error

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\pruebas\direccionamiento.php:11) in C:\xampp\htdocs\pruebas\direccionamiento.php on line 12

Así está el código:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="refresh" content="3" charset=utf-8" URL=http://www.hotmail.com/>
<title>Redireccionamiento</title>
</head>

<body>


<?
header('Location: http://www.hotmail.com/');
?>

</body>
</html>