string convert_uudecode(string $str)
(PHP 4, PHP 5)
| $str | The string value to be decoded |
|---|---|
| RETURNS | Returns the uudecoded character string. |
UU Encoding is a special character coding which is used on Usenet newsgroups to encode file attachments and inline images. It's not too efficient (only using 6 of the available 7 bits in the ASCII table) which is why a newer standard (yENC) has been adopted.
When passed a string containing UU encoded text, this function will decode the string and return the original data (unencoded.)
echo convert_uudecode($input);