note 76144 deleted from function.implode by hholzgra

From: Date: Thu, 02 Aug 2012 13:18:31 +0000
Subject: note 76144 deleted from function.implode by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189742@lists.php.net to get a copy of this message
Note Submitter: Dennis Day ---- I have resolved an issue in SquirrelMail. The problem seemed to be with the implode command. Apparently you do not want to use this function with a large array as SquirellMail attempted to do. This only was an issue with some of the email attachments larger that 2MB. In /src/move_messages.php, replace the line line that says $body = implode('', $body_a); With : // Dennis Day's custom code $body = ""; foreach($body_a as $body_a_key=>$body_a_value){ $body .= $body_a_value; } // End Dennis Day's custom code // Original Bad Code // $body = implode('', $body_a);

« previous php.notes (#189742) next »