Le 23/04/2010 10:05, Ashley Sheridan a écrit :
By default, PHP sends out HTML headers. Browsers ignore extraneous
white-space characters, and also new lines, carriage returns and tabs,
converting them all to a single space character.
For completeness, the white-space discarding depends about
You can also just send out the correct Header for plain text. But your
HTMl will not be interpreted then.. So this makes only sense if you
actually want plain text as the output format.
header("Content-type: text/plain; charset=utf8");
echo "foo\nbar";
Regards
2010/4/23 Nick Balestra :
> Thanks
Thanks everybody!
On Apr 23, 2010, at 10:05 AM, Ashley Sheridan wrote:
> On Fri, 2010-04-23 at 09:51 +0200, Nick Balestra wrote:
>>
>> Hello guys i am trying to figure out what is worng with thoose special
>> escaped character, like \n \t \r ...
>>
>> As i cannot make them working. The browser
On Fri, 2010-04-23 at 09:51 +0200, Nick Balestra wrote:
> Hello guys i am trying to figure out what is worng with thoose special
> escaped character, like \n \t \r ...
>
> As i cannot make them working. The browser doesn't display them, but doesn't
> eithr crate a new line, or else.
> I am usin
4 matches
Mail list logo