Author Topic: "Cannot add header information"  (Read 4092 times)

0 Members and 1 Guest are viewing this topic.

Offline sukholee

  • Newbie
  • *
  • Posts: 26
    • View Profile
"Cannot add header information"
« on: August 07, 2002, 06:19:09 PM »
Hi,

I wanted to show the "new images" on the front page of my website.
And so I created a script called new.php and used this code to include the "new images" at the start page:

Quote
<?php
include("./album/new.php");
?>


The "new images" appear correctly, but sometimes when the page loads this warning comes up:

Warning: Cannot add header information - headers already sent by (output started at c:\phpdev\www\index.php:1) in c:\phpdev\www\album\includes\sessions.php on line 52

Can anyone give me help to solve this problem or show me another method of showing the "new images" on other pages....

Thanks