[TYPO3-core] Trivial patch for indexed_search

Dmitry Dulepov dima at spamcop.net
Tue Jan 17 09:22:32 CET 2006


Hi!

Michael Stucki wrote:
> I think that PHP has a builtin feature to remove the final newline if it is 
> present. See these links for more details:

While looking today for non-PEAR ajax implementation, found this:
http://wiki.xajaxproject.org/Tips_and_Tricks:PHP_language_tricks

Quotation: "Make sure that if you have any php includes to remove any
newlines after the end of your php ( ?>). At least in php 4.3.x, it
inserts these newlines into the text stream and xajax won't process the
resulting xml. - GJD 12/12/05

In fact, apparently you can't have any spaces or whitespace after the ?>
in any of your PHP files because it could corrupt the XML response
output. -- Jared"

Dmitry.



More information about the TYPO3-team-core mailing list