headers already sent?
Posted: Sun Dec 21, 2003 5:57 pm
ok, i have a simple guest book that once it logs the info into the DB, it returns to the main guest book page...
here is the specific code
here is the error
Warning: Cannot modify header information - headers already sent by (output started at chiller/main.php:5) in chiller/bin/book.inc on line 78
the guestbook is stored within a file called book.inc and called from main.php
here is the specific code
Code: Select all
// Takes us back to the entries
$ref = $_SERVERї'HTTP_REFERER'];
header ("Location: $ref");Warning: Cannot modify header information - headers already sent by (output started at chiller/main.php:5) in chiller/bin/book.inc on line 78
the guestbook is stored within a file called book.inc and called from main.php