Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/01/2007, 04:59
supertaldo
 
Fecha de Ingreso: marzo-2006
Mensajes: 178
Antigüedad: 18 años, 1 mes
Puntos: 1
header("location...") no funciona

Tengo dos paginas :

uno.php:
Código PHP:
<html>
<
head>
</
head>
<
body>
<
form id="form1" name="form1" method="post" action="dos.php">
  <
input type="submit" name="Submit" value="Enviar" />
</
form>
</
body>
</
html
dos.php:
Código PHP:
<html>
<head>
</head>
<body>
<? header("Location: uno.php"?>
</body>
</html>
y al apretar enviar me sale esto:
Warning: Cannot add header information - headers already sent by (output started at c:\foxserv\www\pruebas\dos.php:5) in c:\foxserv\www\pruebas\dos.php on line 5

¿Como se redirige en php?