the website the problem is occurring on requires log in.. and I am pretty sure that it is a problem being caused because of php and mysql being out of date... because when I tried it on a server with php5 and mysql5 it worked fine... so we are going to update the server.. and if we still have problems i am going to post back.3Di wrote:Would you mind please to PM me a link where to see that?dvdd127 wrote:the code above causes a stack overflow.. any ideas how to fix it???
Code: Select all
$message = preg_replace('/(\[quote=(.*?)\]((.|\n)*)\[\/quote\])/si',"", $message);