I suggest you to check if there is an empty line before the php starting tag
(<? or <?php)  or if there is a command that send any output to the browse
before the header() command;

This error occurs when something is send to the browser before using
header() ot setcookie().

Dobromir Velev

-----Original Message-----
From: Wilmar P?rez <[EMAIL PROTECTED]>
Date: Saturday, June 30, 2001 8:50 AM
Subject: [PHP-DB] Header error

>Hello guys
>Thanks very much for your help on the ADODB error, I have already fix it.
>Now I've got another weird message.   When I send data to the DataBase from
>a form, it does store the data but sends me back the following response:
>Warning: Cannot add header information - headers already sent by (output
>started at /home/thesis/public_html/registro.php:2) in
>/home/thesis/public_html/registro.php on line 80
>I checked line 80 and there is a closing parenthesis in there.
>Any idea?
>Thanks a lot for your help.
>                Wilmar P?rez
>     IT Manager - Central Library
>         University of Antioquia
>           Medell?n - Colombia
>          tel: ++57(4)2105145
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to