Re: "Hard return" causing hangups
- From: Toby Inkster <usenet200510@xxxxxxxxxxxxxxxxx>
- Date: Sun, 30 Oct 2005 07:53:54 +0000
Peter van Schie wrote:
> $strMessage = preg_replace("/\n|\r\n|\r/", "", $strMessage);
Isn't thie middle "\r\n" a bit redundant?
$strMessage = preg_replace("/[\r\n]", "", $strMessage);
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
.
- Follow-Ups:
- Re: "Hard return" causing hangups
- From: Peter van Schie
- Re: "Hard return" causing hangups
- References:
- "Hard return" causing hangups
- From: Jimmy Clay (www.songofthecoyote.com)
- "Hard return" causing hangups
- Prev by Date: Suggestions for a good Object Relational Mapper for PHP 5
- Next by Date: Re: php rawurldecode from javascripts' escape()
- Previous by thread: Re: "Hard return" causing hangups
- Next by thread: Re: "Hard return" causing hangups
- Index(es):