Mail_mimeDecode::uudecode()

Mail_mimeDecode::uudecode() – decode of UU-coded data

Synopsis

require_once 'Mail/mimeDecode.php';

array &uudecode ( string $input )

Описание

Decodes UU-coded data. 'Unix-to-Unix'-Encoding is used to send binary files (eg. programs, graphics) over 7bit-ASCII-only media, like email.

Parameter

  • string $input - data to decode

Return value

array - the decoded data

  • string $return[]['filename'] - the name of the UUencoded file.

  • string $return[]['fileperm'] - the file permissions of the UUencoded file, if given. The format is unix-styled, ie. "0666" or "666".

  • string $return[]['filedata'] - the decoded content of the UUencoded file.

Замечание

This function can be called statically.

    Поддержать сайт на родительском проекте КГБ