SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    cannot add header

    why can't i add a header?

    this is the warning where i have the header:

    Warning: Cannot add header information - headers already sent by (output started at /usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/review/admin/disimage.php:11) in /usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/review/admin/disimage.php on line 798


    i'm sure that i didnt' echo anything out before the header.

    pls help. thanks.

  2. #2
    SitePoint Addict lveale's Avatar
    Join Date
    Jun 2001
    Location
    Dublin
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    make sure you don't have anything at all, including any whitespace or new lines before you send the headers.

  3. #3
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nope. i dont' have any whitespace....no new lines.

  4. #4
    SitePoint Addict lveale's Avatar
    Join Date
    Jun 2001
    Location
    Dublin
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what about <html>, included files that print out something themselves?

    There's defintely something being output but if you can't locate it then put ob_start() at the top of your page and then ob_end_flush() at the bottom
    Last edited by lveale; Sep 23, 2001 at 23:39.

  5. #5
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Iveale! The problem is solved!!

  6. #6
    SitePoint Addict lveale's Avatar
    Join Date
    Jun 2001
    Location
    Dublin
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no worries, mate!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •