$hdr = implode('', $hdr);
}
/* First we unfold the header */
- $hdr = trim(str_replace(array("\r\n\t", "\r\n "),array('', ''), $hdr));
+ $hdr = trim(str_replace(array("\r\n\t", "\r\n "),array(' ', ' '), $hdr));
/* Now we can make a new header array with */
/* each element representing a headerline */
$header = parseString($read,$i);
if ($header === false) break 3;
/* First we unfold the header */
- $hdr = trim(str_replace(array("\r\n\t", "\r\n "),array('', ''), $header));
+ $hdr = trim(str_replace(array("\r\n\t", "\r\n "),array(' ', ' '), $header));
/* Now we can make a new header array with */
/* each element representing a headerline */
$hdr = explode("\r\n" , $hdr);