previousMail_mimeDecode::decode() (Previous) (Next) Mail_mimeDecode::getXML()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Mail_mimeDecode::uudecode()

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

Synopsis

require_once 'Mail/mimeDecode.php';

array &uudecode ( string $input )

Description

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.

Note

This function can be called statically.

previousMail_mimeDecode::decode() (Previous) (Next) Mail_mimeDecode::getXML()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.