Re: preg_replace ^M
| From: | Torsten Rosenberger | Date: | Thu, 06 Nov 2003 14:09:52 +0000 |
| Subject: | Re: preg_replace ^M | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168719@lists.php.net to get a copy of this message | ||
Hello
> Those are \r characters from dos newline (\r\n). Generally they are not
> harmful and many editors can work with them without problems (vim). You
> can use some utility commands to convert to or from dos or unix newlines.
But i'm working under Linux.
I made a test with HTML Template IT and addBlockfile
and thats the same.
i fetched the content with tpl->get()
and wrote it to a file the same
form method="post" action="">^M
^M
^M
<hr>
Tmbp
^M
^M
/form>^M
BR/Torsten