Monday, January 18, 2010

Chomp your PHP for good health.

We had some weird problems in testing one of our applications today. It turned out to be a newline after a ?> tag in a core config php file, so anything being outputted was preceded by a newline. Normally this isn't much of a problem--web browsers don't care that much about whitespace. Pickier clients, however, got thrown off and would complain about data being corrupt.

3 comments:

  1. Hello I am so delighted I found your blog, I really found you by mistake, while I was looking on Search Engine for something else, Anyways I am here now and would just like to say thanks for a tremendous post and a all round entertaining blog. Please do keep up the great work.www.ifixyouri.com
    ReplyDelete
  2. Post your problem at PHPbb forum. Maybe experts will help you out.

    seo company
    ReplyDelete
  3. PHP have nothing to to with browser. Its a server side programing language.

    Search Engine Optimize
    ReplyDelete