Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 26. október 2026

Rozdiely pre Metafox/lib/Mail/mimePart.php medzi verziami 1.5 a 1.6

verzia 1.5, 2015/11/24 17:21:06 verzia 1.6, 2024/11/20 15:48:04
Riadok 311  class Mail_mimePart
Riadok 311  class Mail_mimePart
     {      {
         $encoded =& $this->encoded;          $encoded =& $this->encoded;
   
         if (count($this->subparts)) {          if (is_array($this->subparts)
                           && count($this->subparts))
                   {
             $boundary = $boundary ? $boundary : '=_' . md5(rand() . microtime());              $boundary = $boundary ? $boundary : '=_' . md5(rand() . microtime());
             $eol = $this->eol;              $eol = $this->eol;
   
Riadok 622  class Mail_mimePart
Riadok 624  class Mail_mimePart
         $escape = '=';          $escape = '=';
         $output = '';          $output = '';
   
         while (list($idx, $line) = each($lines)) {                  foreach ($lines as $idx => $line) {
             $newline = '';              $newline = '';
             $i = 0;              $i = 0;
   
Riadok 769  class Mail_mimePart
Riadok 771  class Mail_mimePart
             $add_len = strlen($prefix . $suffix) + strlen($name) + 6;              $add_len = strlen($prefix . $suffix) + strlen($name) + 6;
             $len = $add_len + strlen($value);              $len = $add_len + strlen($value);
   
             while ($len > $maxLength) {              while ($len > $maxLength) {
                 // We can cut base64-encoded string every 4 characters                  // We can cut base64-encoded string every 4 characters
                 $real_len = floor(($maxLength - $add_len) / 4) * 4;                  $real_len = floor(($maxLength - $add_len) / 4) * 4;
                 $_quote = substr($value, 0, $real_len);                  $_quote = substr($value, 0, $real_len);

Legend:
Odstranené z verzie1.5  
zmenené riadky
  Pridané vo verzii1.6

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok