
08/09/2004, 10:01
|
| | Fecha de Ingreso: marzo-2004
Mensajes: 50
Antigüedad: 21 años Puntos: 0 | |
problemas con header Hola,
tengo un problema con el redireccionamiento de un página:
<?php
$tipo = $_POST["tipo"]; //tipo es el valor de los radio button
if ($tipo==empresa) {
header("Location: http://localhost/formuGeneral.htm");
}
else{
header("Location: http://localhost/formuAltaPrivado.htm");
}
?>
Este el mensaje de error:
Warning: Cannot modify header information - headers already sent by (output started at c:\appserv\www\tiporegistro.php:2) in c:\appserv\www\tiporegistro.php on line 7 |