Jump to content

whitespace


sungpeng

Recommended Posts

The errors have nothing to do with data. Whitespace in the data is not causing the problem.

 

The errors mean your .php files are outputting content to the browser before a header.

 

There are two possible problems with your .php files - 1) Your files have BOM (Byte Order Mark) characters at the start or 2) Your code was incorrectly designed and your old server had output buffering turned on in php.ini which masked the problem. You would need to post the actual error messages to determine which one of these possible reasons are the cause.

Link to comment
Share on other sites

hi PFMaBiSmAd,

 

Could help explain the "outputting content to the browser before a header" and the "Your files have BOM (Byte Order Mark) characters". Trying to understand. I find that I just put the include 'header'; later than the session it solve the problem.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.