hello.

i am new @ php-programming and i wanted to install the php-programm phpMyChat. but if you look at my testpage:

http://redsand.home.dk3.com/phpMyChat.php3

you´ll find some warnings, and i don´t know how to clean them. they look like:

Warning: Cannot add header information - headers already sent by (output started at /home/redsand/chat/config/config.lib.php3:2) in /home/redsand/chat/localization/languages.lib.php3 on line 70

Warning: Cannot add header information - headers already sent by (output started at /home/redsand/chat/config/config.lib.php3:2) in /home/redsand/chat/lib/index.lib.php3 on line 76

Warning: Cannot add header information - headers already sent by (output started at /home/redsand/chat/config/config.lib.php3:2) in /home/redsand/chat/lib/index.lib.php3 on line 77

Warning: Cannot add header information - headers already sent by (output started at /home/redsand/chat/config/config.lib.php3:2) in /home/redsand/chat/lib/index.lib.php3 on line 78

Warning: Cannot add header information - headers already sent by (output started at /home/redsand/chat/config/config.lib.php3:2) in /home/redsand/chat/lib/index.lib.php3 on line 79

Warning: Cannot add header information - headers already sent by (output started at /home/redsand/chat/config/config.lib.php3:2) in /home/redsand/chat/lib/index.lib.php3 on line 80

thanxxx 4 ur help!
REDSAND

    according to the html source the line:

    <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    is appearing first before the headers are sent. comment the line out or remove it and try again. the headers must be the first thing sent to the clients browser.

      there is prolly an extra space or line return at the end of /home/redsand/chat/config/config.lib.php3. ANY character outside of <?php ?> tags is output to the browser and the header function cannot be called after anything has been output

        Write a Reply...