Re: [PHP] What is "white space"
From: Keith Greene (kgreene_at_i2intl.com)
Date: 11/16/03
- Next message: Robert Cummings: "Re: [PHP] What is "white space""
- Previous message: Chong Wee Huat: "Example In Changes in PHP 5/Zend Engine 2.0"
- In reply to: Leif K-Brooks: "Re: [PHP] What is "white space""
- Next in thread: Leif K-Brooks: "Re: [PHP] What is "white space""
- Reply: Leif K-Brooks: "Re: [PHP] What is "white space""
- Reply: Chris Shiflett: "Re: [PHP] What is "white space""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Robert Cummings: "Re: [PHP] What is "white space""
- Previous message: Chong Wee Huat: "Example In Changes in PHP 5/Zend Engine 2.0"
- In reply to: Leif K-Brooks: "Re: [PHP] What is "white space""
- Next in thread: Leif K-Brooks: "Re: [PHP] What is "white space""
- Reply: Leif K-Brooks: "Re: [PHP] What is "white space""
- Reply: Chris Shiflett: "Re: [PHP] What is "white space""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|