Help for this page

Select Code to Download


  1. or download this
    $file_attach{'testdoc.doc'} = '/home/path/to/document/testdoc.doc';
    etc...
    ...
                                Disposition=>'attachment',
                                Encoding =>'base64'
                                };
    
  2. or download this
    (header)
    Content-Type: multipart/alternative; boundary="_----------=_AAA"
    ...
        Content-Transfer-Encoding: base64
        Content-Type: application/msword; name="test2.doc"
        --_----------=_AAA--
    
  3. or download this
    (header)
    Content-Type: multipart/mixed;
    ...
    ------=_NextPart_000_AAAAA
    Content-Type: application/msword; name="test.doc"
    Content-Transfer-Encoding: base64