Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 2 of 2

Thread: header

  1. #1
    WrigleyF is offline Master Member
    Join Date
    May 2010
    Posts
    546

    Default header

    What should I do if I want to change the header on my site but the program won't let me--it says that it can't "modify header information?"

  2. #2
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,080

    Default

    This is commonly known as the "whitespace problem".

    The error message typically looks something like
    Warning: Cannot modify header information - headers already sent by..... (line numbers and file names may vary)
    The problem is that many editors seem to add additional blanks (spaces) and/or empty lines at the end of a file when you edit it or may have been caused by your FTP or text editor software.


 

Posting Permissions

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