electric-fire Posted September 10, 2015 Share Posted September 10, 2015 I've found that in order for the following line of code from script 13.1 - email.php to work $value = str_replace(array("\r", "\n", "%0a", "%0d"), ' ', $value); the \r and \n should be escaped like so: $value = str_replace(array("\\r", "\\n", "%0a", "%0d"), ' ', $value); Otherwise they won't be replaced. Link to comment Share on other sites More sharing options...
Larry Posted September 12, 2015 Share Posted September 12, 2015 That surprises me, but if it works for you, great! Thanks for sharing! Link to comment Share on other sites More sharing options...
Recommended Posts