I\'m getting this error when I try to call the mail() function.
I tried adding ini_set(\'memory_limit\', \'64m\')
to my index.php file - Which include()\'s
The characters you have provided for the replacement may be causing the str_replace
function to loop endlessly.It is not a good idea either to be playing around with setting the maximum memory limit for php. Try another string function. Maybe:
$message = preg_replace("\n.", "\n..", $message);
preg_replace
is very good with such characters and may not run in many useless loops without knowing what to do.
I hope this helps.