Re: [PHP] What is "white space"

From: Keith Greene (kgreene_at_i2intl.com)
Date: 11/16/03


Date: Sat, 15 Nov 2003 16:05:02 -0800
To: php-general@lists.php.net

It's not a bug. Anything (including spaces, newlines etc) that is not
inside <? and ?> is output directly to the browser.

At 03:49 PM 11/15/2003, you wrote:
>Robert Cummings wrote:
>
>>FYI, if you're woprried about the "header cannot be sent due to
>>output..." error, then if your file only has code and no HTML, then you
>>can omit the ?> tag at the end of your script. This solves countless
>>issues with there being a space, a tab, a newline, or any whitespace
>>after the closing tag.
>>
>And when that bug is fixed?
>
>--
>The above message is encrypted with double rot13 encoding. Any
>unauthorized attempt to decrypt it will be prosecuted to the full extent
>of the law.
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



Relevant Pages

  • Re: to learn jQuery if already using prototype
    ... You stated that these libraries were junk as though it ... we welcome bug reports. ... understanding of javascript or browser scripting who just happens to be ... I can't guarantee that any of us will write bug-free code on the first ...
    (comp.lang.javascript)
  • Re: Safari, image maps, and links
    ... confusion and possible browser pitfall (incorrect or imperfect browser ... Tab-focusing areas is a filed bug for Safari. ... to the html 4 specification, ALSO work fine using a instead of area. ... in addition to the image map. ...
    (comp.infosystems.www.authoring.html)
  • Re: FAQ Topic - How can I create a Date object from a String? (2010-07-27)
    ... include something explicitly on writing& reading JSON date strings. ... ECMA-5 doesn't say that a Date string is parsed in UTC. ... The downside of browsers being released with a bug is that even after the browser vendor releases an update with a fix, there will still be some users that have an older browser with the broken functionality. ...
    (comp.lang.javascript)
  • Re: Cannot drag a link from Outlook Express to IE anymore
    ... I'm not aware of any *bug* that would prevent you from dragging a link ... Open your browser, insert ... > This is not an IE bug as your request for information on IE suggests. ... > email message to IR or to a folder in Windows Explorer. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • 2Wire-Gateway Cross Site Scripting and Directory Transversal bug in SSL Form
    ... Exploitation: Remote with browser ... Bug ... This allows him to see and download any file in the remote system knowing ...
    (Bugtraq)