Re: What is "white space"
| From: | Keith Greene | Date: | Sun, 16 Nov 2003 00:05:02 +0000 |
| Subject: | Re: What is "white space" | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169786@lists.php.net to get a copy of this message | ||
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