[bugs] [Bug 1206] Changed - can't send attachment file with size greater that ~3Mb

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Jul 8 12:34:03 PDT 2003


http://bugs.horde.org/show_bug.cgi?id=1206

*** shadow/1206	Tue Apr  1 10:17:56 2003
--- shadow/1206.tmp.17533	Tue Jul  8 16:34:03 2003
***************
*** 3,9 ****
  Version: 2.0 Stable
  Platform: other
  OS/Version: Linux
! Status: CLOSED   
  Resolution: WORKSFORME
  Severity: normal
  Priority: P3
--- 3,9 ----
  Version: 2.0 Stable
  Platform: other
  OS/Version: Linux
! Status: REOPENED   
  Resolution: WORKSFORME
  Severity: normal
  Priority: P3
***************
*** 132,134 ****
--- 132,148 ----
  I clue the problem.
  For attaching file with size ~ 32Mb php needs memory_limit about 400M.
  For attaching file with size ~ 8Mb php needs memory_limit not less than about 128Mb.
+ 
+ ------- Additional Comments From edv at via-berlin.de  07/08/03 16:34 -------
+ I found that replacing
+ 
+ $contents = chunk_split(base64_encode($contents),76,"\n");
+ 
+ with
+ 
+  $contents1 = base64_encode($contents);
+  $contents = chunk_split($contents1,76,"\n");
+ 
+ does the job ...
+ 
+ 


More information about the bugs mailing list