Re: Warning
| From: | Daniel Calisaya | Date: | Fri, 07 Feb 2003 01:49:58 +0000 |
| Subject: | Re: Warning | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-32102@lists.php.net to get a copy of this message | ||
Normalmente los Warning aparecen cuando hay un codigo html antes del Header.
Ejemplo comun:
<?
echo "mi nombre es PHP";
Header("Location: index.php");
?>
Entonces no puede redireccionar porque hay un output antes del header. Solo tienes que evitar esto.
Espero ayudarte
Daniel
At 19:12 06/02/2003 -0600, you wrote:
Alguien sabe como manejar los warnings ejemplo Warning: Cannot add header information - headers already sent by (output started at /home/htdocs/cabeza.html:25) in /home/htdocs/maestrosdabd.html on line 6 Gracias --------------------------------------------------------------------- Archivo On-line: http://www.phpes.com/via news: news://news.phpes.com/Manual PHP en español: http://www.php.net/manual/es/ Para dar de baja la suscripción, mande un mensaje a: lista-unsubscribe@phpes.com