(PECL mailparse >= 0.9.0)
mailparse_uudecode_all — Scans the data from fp and extract each embedded uuencoded file
Scans the data from the given file pointer and extract each embedded uuencoded file into a temporary file.
fp
A valid file pointer.
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 |
Örnek 1 mailparse_uudecode_all() example
<?php
$text = <<<EOD
To: