Re: safely using input for mail
| From: | Justin French | Date: | Mon, 13 Sep 2004 04:41:29 +0000 |
| Subject: | Re: safely using input for mail | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196472@lists.php.net to get a copy of this message | ||
On 13/09/2004, at 12:45 PM, John Holmes wrote:
str_replace(array("\r","\n",'',$text) Is one way to do it.Typo John: str_replace(array("\r","\n"),'',$text); :) --- Justin French http://indent.com.au