Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/10/2009, 17:03
kirst
 
Fecha de Ingreso: septiembre-2009
Mensajes: 230
Antigüedad: 14 años, 7 meses
Puntos: 2
[Ayuda] header??

Bueno, tengo un script que cuando da positivo, dice "header (Location: index.php)". Está todo perfecto eos, el tema es que el script, está dentro de ingresar.php, y ingresar.php lo incluyo mediante un script al inicio.php. Quedaría algo así:


Ingresar.php
Código PHP:
header (Locationindex.php); 
Index.php
Código PHP:
include(ingresar.php); 
Bueno, cuando el header se ejecuta, me larga el siguiente error:

Código PHP:
WarningCannot modify header information headers already sent by (output started at C:AppServwww2articulos.php:7in C:AppServwww2mdeliveryingresar.php on line 37 
El ejemplo fue resumidísimo, pero expliqué lo que hace falta, algien tiene idea si puedo reemplazar la función con otra? U hacer otra cosa? Saludos.