protected function getPartHeaderFromFile(&$part)
    {
        $start = $part['starting-pos'];
        $end = $part['starting-pos-body'];
        fseek($this->stream, $start, SEEK_SET);
        $header = fread($this->stream, $end - $start);
        return $header;
    }
protected function getPartHeaderFromFile(&$part)
    {
        $start = $part['starting-pos'];
        $end = $part['starting-pos-body'];
        fseek($this->stream, $start, SEEK_SET);
        $header = fread($this->stream, $end - $start);
        return $header;
    }
protected function getPartHeaderFromFile ( & $ part ) { $ start = $ part [ 'starting-pos' ] ; $ end = $ part [ 'starting-pos-body' ] ; fseek ( $ this -> stream , $ start , SEEK_SET ) ; $ header = fread ( $ this -> stream , $ end - $ start ) ; return $ header ; }
Retrieve the Header from a MIME part from file

@return String Mime Header Part
@param $part Array
Retrieve the Header from a MIME part from file