mailparse_uudecode_all

(PECL mailparse >= 0.9.0)

mailparse_uudecode_all Scans the data from fp and extract each embedded uuencoded file

Açıklama

mailparse_uudecode_all(resource $fp): array

Scans the data from the given file pointer and extract each embedded uuencoded file into a temporary file.

Bağımsız Değişkenler

fp

A valid file pointer.

Dönen Değerler

Returns an array of associative arrays listing filename information.

filename Path to the temporary file name created
origfilename The original filename, for uuencoded parts only
The first filename entry is the message body. The next entries are the decoded uuencoded files.

Örnekler

Örnek 1 mailparse_uudecode_all() example

<?php

$text
= <<<EOD
To: